A progressive Node.js framework for building efficient and scalable server-side applications.
Basic implementation of a user authentication api using nestjs.
Functions:
POST: Signup and signin, create bookmark
GET: Get users info, get current bookmarks
DELETE: Delete bookmark
framework: Nestjs
db schema: Prisma
db container: Docker
$ npm install
# development
$ npm run start
# create a local db
$ docker compose up dev-db -d
# watch mode
$ npm run start:dev
# restart the database
$ npm run db:dev:restart
# launch db dashboard
$ npx prisma studio
# 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.