This repository contains the backend code for an ecommerce website built using MongoDB, Express, React, and Node.js (MERN stack). The backend provides API endpoints for user authentication, product management, cart management, order management, and payment processing using Razorpay.
- RESTful API endpoints for user authentication (sign up, log in, log out)
- Secure password hashing using bcrypt.js
- JSON Web Tokens (JWT) for authentication and authorization
- MongoDB integration for database storage
- Cloudinary integration for storing image files
- Middleware for authentication and error handling
- Integration with Razorpay for online payments
Our backend seamlessly integrates with Razorpay, a popular payment gateway, to facilitate online payments for our ecommerce platform. When a user initiates the checkout process, the backend communicates with Razorpay's API to create a payment order. Upon successful payment, Razorpay sends a webhook notification to our backend, which updates the order status accordingly. This integration ensures a smooth and secure payment experience for our users.
- Node.js
- Express
- MongoDB
- bcrypt.js
- JSON Web Tokens (JWT)
- Multer
- Razorpay
Check frontend repository for Default credentials : Ecommerce frontend Repo
- To get started with the Restaurant Website:
git clone https://github.com/Emmanuel-Benjamin00/E-Commerce-Backend.git