Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 780 Bytes

README.md

File metadata and controls

49 lines (36 loc) · 780 Bytes

Getting Started

Minimal setup

npm install
npm run db:migrate:dev:latest
npm run db:seed:dev
npm run dev

Commands

Install node modules

npm install

Run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Database management

SQLite database resides in data/app.db file.

Run DB migrations to create DB objects

npm run db:migrate:dev:latest

Create new migrations file in lib/db/migrations directory

npm run db:migrate:dev:new

Generate DB typescript definitions models for Kysely query builder

npm run db:codegen:dev

Seed database with test data

npm run db:seed:dev