$ git clone https://github.com/cavaldos/BookStore.git
$ cd BookStore
# cd path
$ cd client
# install package
$ npm install
# development
$ npm run dev
# cd path
$ cd server
# install package
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
object | Functionality | Method | Endpoint | Request Body | Response |
---|---|---|---|---|---|
auth | signin | POST | /auth/users | {name, email, password} | {user object} |
signup | POST | /auth/login | {email, password} | {token} | |
resetpassword | GET | /auth/reset | - | {book objects array} | |
- | - | - | - | - | - |
book | get all book | GET | /book/getall | - | {matching book objects array} |
create book | POST | /book/create | - | {book object} | |
delete book | DELETE | /book/delete | {_id} | - | |
update | PUT | /api/return/:id | {return_date} | - | |
pagingation | GET | /book/list?page={}&pageSize={} | - | {lend/return objects array} | |
find | GET | /book/{_id} | - | {lend/return objects array} | |
- | - | - | - | - | - |
user | getall | GET | /user/getall | - | {lend/return objects array} |
delete | DELETE | /user/:_id | - | {lend/return objects array} | |
update | PUT | /user/update | - | {lend/return objects array} | |
create | POST | /user/create | - | {lend/return objects array} | |
find | GET | /user/:_id | - | {lend/return objects array} |
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. https://justboil.github.io/admin-one-vue-tailwind/#/dashboard