Endpoints
-
http://localhost:3000/v1/auth/login
POST{ "email":"[email protected]", "password": "qwertyuiop" }
-
http://localhost:3000/v1/auth/login
POST{ "email":"[email protected]", "password": "qwertyuiop", "firstName": "Danish", "lastName": "anwaar" }
-
http://localhost:3000/v1/book
GET -
http://localhost:3000/v1/book
POST{ "name": "Test's Book", "iban": "NL93ABNA1655314556" }
-
http://localhost:3000/v1/book/:id
PATCH{ "name": "Test's Book", "iban": "NL93ABNA1655314556" }
-
http://localhost:3000/v1/book/:id
DELETE
Database Config
MariaDB
src/database/config/database.config.ts
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.