Skip to content

shiv-sk/librarymanagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library Management

This project is just for practice... In this user(student) can perform these action 1)register 2)login 3)update Admin can perform 1)Add books 2)update books 3)delete books 4)transaction functionalities

Technologies used

Node, Express, Mongodb, Mongoose For testing endpoints Postman is used Cookie-parser is used for sending accessToken to login user before runnig project download the necessary npm packages mentioned in package.json

Running Tests

To run tests, run the following command

  npm start

Routes

Important routes are 1)User 2)Books 3)Transaction

the whole project is divided into three main models 1)User 2)Books 3)Transaction

app.use("/api/v1/UserRouter" , UserRouter); app.use("/api/v1/BookRouter" , BookRouter); app.use("/api/v1/TransactionRouter" , TransactionRouter);

Model Diagram image

About

practing backend by project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published