npm install
To set up the project, follow these steps:
- Clone the repository.
- Install the dependencies using the command
npm install
. - Set up the database migration by running the following commands:
npm run migration:import
npm run migration:generate
npm run migration:push
- Start the development server using the command
npm run dev
.
To perform database migration, you can use the following commands:
npm run migration:up
: Run the database migration.npm run migration:down
Revert the database migration.npm run migration:seed
: Seed the database with initial data.
Please make sure to update the database configuration in the drizzle.config.ts
file.
Happy coding!
A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Kamil Myśliwiec
- Website - https://nestjs.com
- Twitter - @nestframework
Nest is MIT licensed.