Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/programmershahjalal/ecommerce-app

Ecommerce - product and order management system
https://github.com/programmershahjalal/ecommerce-app

Last synced: 2 days ago
JSON representation

Ecommerce - product and order management system

Awesome Lists containing this project

README

        

# Product and Order Management System

This is an Product and Order Management System application built with Node.js, Express, MongoDB, Mongooes, and TypeScript.

## Technologies Used

  • Node.js

  • Express.js

  • MongoDB

  • Mongooes

  • TypeScript

  • Zod Validation

  • cors

  • dotenv

  • eslint

  • nodemon
  • ## Features

  • Create a new product

  • Create a new order

  • Retrieve all products

  • Retrieve a product by id

  • Update product information

  • Delete a product

  • Search a product

  • Retrieve all orders

  • Retrieve orders by user email

  • Inventory management logic (reduce quantity, update inStock status)

  • Error handling for insufficient quantity and not found scenarios
  • ## Setup Instructions

    ### Installation

    1. Clone the repository
    `git clone https://github.com/ProgrammerShahJalal/ecommerce-app.git`
    2. Navigate to the project directory:
    `cd ecommerce-app`
    3. Install dependencies:
    `npm install`
    4. Set up environment variables:
    Create a .env file in the root directory and Replace your_mongodb_connection_string with your actual MongoDB connection string.

    ### Running the Application

    1. Start the development server:
    `npm run start:dev`
    The server will start running on http://localhost:5000.






    All rights reserved by Md Shah Jalal.