/E_commerc_api_using_nodejs

build E-commerce api using node js

Primary LanguageJavaScript

E-Commerce Backend Project using Node.js

Welcome to the E-Commerce Backend Project! This project focuses on building the backend infrastructure for an e-commerce website using Node.js. It provides a robust foundation for managing products, handling user processing orders, and maintaining the overall functionality of an online store.

Table of Contents

Features

  1. Product Management:

    • Create, update, and delete products with details such as name, description, price, and inventory status.
  2. Order Processing:

    • Handle customer orders, including order creation, updating order status, and managing order history.
  3. Shopping Cart Functionality:

    • Enable users to add products to their shopping cart, modify the cart, and proceed to checkout.
  4. RESTful API Design:

    • Design a RESTful API with clear endpoints for seamless integration with frontend applications.
  5. Database Integration:

    • Connect to a database MongoDB to store and retrieve product, user, and order information.

Technologies Used

  • Node.js: Server-side JavaScript runtime for building scalable network applications.
  • Express.js: Web application framework for Node.js, simplifying the creation of robust APIs.
  • MongoDB : NoSQL database for storing product, user, and order information.

Getting Started

  1. Clone the Repository:
    git clone https://github.com/3bwahab/E_commerc_api_using_nodejs.git
    
    

Run The Application

1. ** Create a .env file and set database connection string**

  1. Install Dependencies:
      npm install
    
  2. For Dev Mode:
    npm run start:dev
    
  3. For Production Mode:
    npm run start:prod