$ npm run <options>
OPTIONS:
start - Starts the production server
dev - Starts the development server
drizzle:studio - Run drizzle studio locally
drizzle:generate - Generate SQL migration statements
drizzle:push - Push local schema changes to database
drizzle:migrate - Apply generated SQL migration
-
Install NodeJS: >= v20.11.0, if you don't have it yet.
-
Install project dependencies:
npm install
-
Start MySQL database: >=v8.0.30
-
Create
.env
file in root directory & configure values referring.env.sample
-
Run
npm run start
to start the app
-
Run
drizzle:generate
to generate migrations -
Run
drizzle:migrate
to apply the migrations
- Postman Collection - Taskphin