/shop-app

Primary LanguageEJS

Simple Shop using Node.js

This is a simple e-commerce web application built using Node.js. The application allows users to view products, add products to the cart, make orders, and admin can also add/edit/delete products.

Features

  • View Products: Users can view all the products available in the store.
  • Product Details: Users can view the details of a specific product.
  • Add to Cart: Users can add products to their cart.
  • Make Orders: Users can make orders for the products in their cart.
  • Admin Panel: Admins can add/edit/delete products.

Requirements

  • Node.js 14 or higher

Installation

  1. Clone the repository:
git clone https://github.com/0xHady/shop-app.git
  1. Install the depenedencies:
cd simple-shop-nodejs
npm install
  1. Set environment variables:
cp .env.example .env

Replace the values in .env with your own values.

  1. Start the application:
npm start

The application will be running at http://localhost:3000.

Usage

View Products

Users can view all the products available in the store.

Product Details

Users can view the details of a specific product.

Add to Cart

Users can add products to their cart.

Make Orders

Users can make orders for the products in their cart.

Admin Panel

Admins can add/edit/delete products.