Skip to content

mdnusrat007/Module-3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book Catalog API

A RESTful API for managing a book catalog with JWT-based authentication.

Features

User registration and authentication JWT token-based authorization Full CRUD operations for books MongoDB database integration Secure password hashing Input validation Error handling

Tech Stack

Runtime: Node.js Framework: Express.js Database: MongoDB with Mongoose Authentication: JWT (JSON Web Tokens) Password Hashing: bcryptjs Environment Variables: dotenv

Installation

Clone the repository

git clone cd book-catalog-api

Install dependencies

npm install

Create .env file

MONGO_URI=your_mongodb_connection_string JWT_SECRET=your_secret_key PORT=5000 NODE_ENV=development

#Run the application

Development mode with nodemon

npm run dev

Production mode

npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published