npm install
npm run db:migrate:dev:latest
npm run db:seed:dev
npm run dev
Install node modules
npm install
Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
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