Skip to content

babluroy/node.js-eCommerce-Backend

Repository files navigation

eCommerce Backend Server

Welcome to the eCommerce Backend Server! This Node.js application serves as dynamic eCommerce platform. It features robust functionalities for managing products, orders, and user interactions.

🚀 Features

  • Product Management: Create, read, update, and delete products.
  • Dynamic Queries: Search for products based on size, category, price, and featured status.
  • Order Processing: Handle shopping cart orders, check stock availability, and manage order statuses.
  • Image Storage: Seamlessly store and manage product images using AWS S3.
  • Payment Integration: Secure and efficient payment processing with Razorpay.
  • Secure & Scalable: Built with MongoDB for a scalable database solution.

🛠️ Technologies Used

  • Node.js: JavaScript runtime for building server-side applications.
  • Express.js: Web application framework for Node.js.
  • MongoDB: NoSQL database for storing product and user data.
  • AWS S3: Cloud storage service for handling product images.
  • Razorpay: Payment gateway integration for processing transactions.

Postman collection

Download Collection


📦 Installation


  1. Create .env file and paste your DATABASE URL, SECRET, AWS CREDENTIALS & RAZORPAY CREDENTIALS:
DATABASE=mongodb://localhost:27017/ecommerce
SECRET=YOUT_SECRET

# AWS
AWS_ACCESS_KEY=YOUR_AWS_ACCESS_KEY
AWS_SECRET_KEY=YOUR_AWS_SECRET_KEY
AWS_REGION=YOUR_AWS_REGION

# RAZORPAY
RAZORPAY_KEY_ID=YOUR_RAZORPAY_KEY_ID
RAZORPAY_SECRET=YOUR_RAZORPAY_SECRET

PROJECT STRUCTURE

Preview