Skip to content

It's a Book Api with the help of create node.js and express schema, and MongoDB .

Notifications You must be signed in to change notification settings

osamakhan9/Triluxo_Book-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Api (❁´◡`❁)

It's a Book Api with the help of create node.js and express schema, and MongoDB .


🖥️ Tech Stack

javascript restAPI nodejs expressjs mongodb

Deployed On:

vercel heroku



View DemoGetting StartedInstallingAuthor

This project provides a basic API for managing books in a BookLibrary. It's built using Node.js for the server, Express.js for routing, and MongoDB for data storage.


🚀Features

  • Create: Add new books to the database.
  • Update: Modify details of a book using its ID.
  • Read: Retrieve information about all books or a specific book by ID.
  • Delete: Remove a book from the database by ID.

🚀 API Endpoints

  • POST : /books: Create a new book.
  • GET : /books: Retrieve all books.
  • GET : /books/🆔 Retrieve a specific book by ID.
  • DELETE : /books/🆔 Delete a book by ID.
  • PATCH : /books/🆔 Update a book by ID.

Demo Video 🙈 :

video1572880104.mp4

Getting Started

Prerequisites

  • Node.js installed (version 14.17.0 recommended).
  • MongoDB installed and running.

Set up your environment variables:

Create a .env file in the root of the project and add the following:

  • port = 8080
  • mongourl = put env file.

Tools used on this project

  • Visual Studio Code

Contact

If you want to contact me, you can reach me through below handles.

© 2022 Mohammad osama khan

Show your support

Give a ⭐️ if you like this project!

Releases

No releases published

Packages

No packages published