A progressive Node.js framework for building efficient and scalable server-side applications.
- Before the installation
We highly recommand you to read the wiki, especially the get started section.
- Configure the environment variables inside the
.env
file.
// The url of the database
DATABASE_URL="postgres://user:password@localhost:5432/database"
- Install dependencies.
npm install
-
Don't forget to seed the database. (See the Database & Prisma section)
-
Run the application.
npm run start
# seed database
npx prisma db seed
# push schema
npx prisma db push
# lunch prisma studio
npx prisma db push
# generate schema
npx prisma generate
# 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.