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.
- 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.
- Node.js 14 or higher
- Clone the repository:
git clone https://github.com/0xHady/shop-app.git
- Install the depenedencies:
cd simple-shop-nodejs
npm install
- Set environment variables:
cp .env.example .env
Replace the values in .env with your own values.
- Start the application:
npm start
The application will be running at http://localhost:3000.
Users can view all the products available in the store.
Users can view the details of a specific product.
Users can add products to their cart.
Users can make orders for the products in their cart.
Admins can add/edit/delete products.