A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
$ npx prisma migrate dev --name "init"
$ npx prisma db seed
As we are running the MVP locally, some things need to change when running in others devices
$ .env => in this file, whe have our database URL. Basically, his default body is like this:
DATABASE_URL="postgresql://postgres:senai@localhost:5432/skillsDatabase?schema=public"
DATABASE_URL="{database}://{database user}:{database password}@{host}:{database port}/{database name}?{extra arguments, like the default schema of the database}"
- https://www.prisma.io/docs/reference/database-reference/connection-urls
- https://www.prisma.io/docs/concepts/database-connectors/postgresql
# 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.