Skip to content

cavaldos/BookStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Book Stroe

Description

Installation

$ git clone https://github.com/cavaldos/BookStore.git
$  cd BookStore

Running the app

Client

# cd path
$ cd client

# install package
$ npm install

# development
$ npm run dev

Server

# cd path
$ cd server

# install package
$ npm install

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Client


Server

API

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}

Support

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.

Stay in touch

License

Nest is MIT licensed. https://justboil.github.io/admin-one-vue-tailwind/#/dashboard