ecommerce-application

This assignment is given by des technico company.

Stars
0
Committers
1

E-Commerce Application Backend

This is a simple e-commerce backend application built with Node.js, Express.js, and PostgreSQL. The application provides RESTful APIs for user authentication, seller and buyer functionalities, including adding, editing, and deleting products, as well as searching for products and managing a shopping cart.

Table of Contents

Tech Stack

  • Node.js - JavaScript runtime for server-side development
  • Express.js - Web framework for Node.js
  • PostgreSQL - Relational database
  • JWT (JSON Web Token) - For user authentication

Features

  • User Authentication: Sign up and log in with JWT-based authentication.
  • Seller Functionality:
    • Add products with details (name, category, description, price, discount).
    • Edit and delete products.
  • Buyer Functionality:
    • Search products by name or category.
    • Manage a shopping cart (add/remove products).

Installation

  1. Clone the repository:

    git clone https://github.com/shivamkumar24/ecommerce-app
    cd ecommerce-app