LibSpace is a backend API project designed to teach students the fundamentals of authentication and CRUD operations using Node.js, Express, and MongoDB. The system allows users to securely register and log in to receive a JSON Web Token (JWT). Authenticated users can then manage a digital library by adding new books, viewing the entire collection or specific id, updating book details, and deleting entries, ensuring that sensitive data modification is protected by secure token verification.
Follow these instructions to get a copy of the project up and running on your local machine.
Before you begin, ensure you have the following installed:
Clone the repository
git clone https://github.com/Mayankkumar1234/My-LibSpace
cd My-LibSpace
Install dependencies
[e.g., npm install]
.env file in the root directory.MONGO_URI=your_database_url
PORT = Your server port
SECRET_KEY= For JWT
npm run start or node index.js