Skip to content

This is the backend API for Readora, a library management system. It manages books, user borrowing history, and provides secure endpoints to support client-side operations like borrowing, returning, and retrieving book data.

Notifications You must be signed in to change notification settings

hamadismail/library-management-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Readora - Server Side

πŸ“Œ Project Purpose

This is the backend API for Readora, a library management system. It manages books, user borrowing history, and provides secure endpoints to support client-side operations like borrowing, returning, and retrieving book data.

πŸ“š Live Site: https://redora.vercel.app/

πŸ”‘ Key Features

  • πŸ“š Books API (CRUD for admin, Read for users)
  • πŸ§‘β€πŸ’Ό Borrowed books tracking by user email
  • πŸ”πŸ” JWT-based route protection
  • πŸ“¦ MongoDB database integration
  • πŸ” RESTful API structure with Express.js

πŸ“‘ API Endpoints

  • GET /books: Get all books
  • GET /books/:id: Get details for a specific book
  • POST /borrow: Add a borrowed book
  • GET /borrowed/:email: Get books borrowed by a specific user
  • DELETE /borrowed/:id: Return (delete) a borrowed book

🧰 Technologies & Packages Used

  • Express.js
  • MongoDB
  • CORS
  • dotenv
  • jsonwebtoken (JWT)
  • nodemon

βš™οΈ Installation & Running

npm install
npm start

About

This is the backend API for Readora, a library management system. It manages books, user borrowing history, and provides secure endpoints to support client-side operations like borrowing, returning, and retrieving book data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published