A RESTful API for managing a book catalog with JWT-based authentication.
User registration and authentication JWT token-based authorization Full CRUD operations for books MongoDB database integration Secure password hashing Input validation Error handling
Runtime: Node.js Framework: Express.js Database: MongoDB with Mongoose Authentication: JWT (JSON Web Tokens) Password Hashing: bcryptjs Environment Variables: dotenv
git clone cd book-catalog-api
npm install
MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key PORT=5000 NODE_ENV=development
#Run the application
npm run dev
npm start