Git Product home page Git Product logo

book-record-management-build's Introduction

Server>> Storing certain book data >> User Register >>Subscriber

This is a book record management API server for the library system or management of certain records or books.

Fine System: User: 02/01/24-02/03/24 03/03/24 => Rs 50

Subscription types

3 months subscription (Basic) 6 months subscription (Standard) 12 months subscription (Premium)

If the subscription type is standard && if the subscription date id 02/01/2024 => then subscription valid till 02/06/2024

within subscription date >> if we miss the renewal >> 50/- day Subscription date is also missed >> also missed the renewal >> 100+50/- day

Routes and Endpoints

/users

POST: Create a new user GET: Get all the user info

/users/{id}

GET: Get a user by id PUT: Update a user by their ID DELETE: Delete the user by ID (check if he/she still have an issued book) && (is there any fine to be paid)

/users/subscription-detail/{id}

GET: Get user subscription details >> Date of Subscription >> Valid till >> Fine?

/books

GET: Get all the books POST: Create / Add a new book

/books/{id}

GET: Get a book by ID PUT: Update a book by ID

/books/issued

GET: Get all issued boooks

/books/issued/with fine

GET: Get all the issued books with their fine

npm init

npm i nodemon --save-dev // save dev for devellopers dependency so tha we don't have to kill the server manually and clients will not do nay changes in the server

npm run dev

book-record-management-build's People

Contributors

sakshiimehta avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.