Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Book Management REST API

A simple and beginner-friendly Book Management REST API built using Node.js, Express.js, and MongoDB.

This project demonstrates how to build a backend REST API with CRUD (Create, Read, Update, Delete) operations and connect an Express.js application with MongoDB using Mongoose.

🚀 Features

  • 📖 Get all books
  • 🔍 Get a single book by ID
  • ➕ Add a new book
  • ✏️ Update an existing book
  • 🗑️ Delete a book
  • 🍃 MongoDB database integration
  • 🔗 RESTful API architecture
  • ⚡ Express.js backend
  • 🛡️ Basic error handling
  • 🌱 Environment variable support using dotenv

🛠️ Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • dotenv
  • Postman for API testing.

📂 Project Structure

Book-Management-API/
│
├── controllers/
│   └── book-controllers.js
│
├── database/
│   └── db.js
│
├── models/
│   └── book.js
│
├── routes/
│   └── book-routes.js
│
├── .env
├── .gitignore
├── app.js
├── package.json
└── README.md

About

Book Management REST API built with Node.js, Express.js, and MongoDB. Supports CRUD operations for adding, fetching, updating, and deleting books through RESTful APIs.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages