Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rgvirer/project_node
E Commerce Website backend using Node.js
https://github.com/rgvirer/project_node
expressjs html javascript mongodb mongoose nodejs
Last synced: 10 days ago
JSON representation
E Commerce Website backend using Node.js
- Host: GitHub
- URL: https://github.com/rgvirer/project_node
- Owner: RGvirer
- Created: 2024-02-12T13:23:53.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-12T12:39:29.000Z (2 months ago)
- Last Synced: 2024-09-13T00:02:41.547Z (2 months ago)
- Topics: expressjs, html, javascript, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage: https://homedesignstore.netlify.app
- Size: 9.65 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-Commerce Website Backend - Node.js & Express
## Overview
This is the backend for an E-Commerce website built using Node.js and Express. It provides APIs for managing products, user authentication, and shopping cart functionality. The data is stored in a MongoDB database, and authentication is handled via JWT (JSON Web Tokens).## Features
- **Product Management**: API endpoints for adding, updating, deleting, and retrieving products.
- **User Authentication**: User registration, login, and JWT-based authentication.
- **Shopping Cart Management**: APIs to manage items in a user's cart.
- **Order Management**: APIs for placing and viewing orders.
- **Database**: MongoDB is used as the database to store product and user data.## Tech Stack
- **Node.js**: Server-side JavaScript runtime.
- **Express.js**: Web framework for building RESTful APIs.
- **MongoDB**: NoSQL database for storing data.
- **Mongoose**: MongoDB object modeling tool.
- **JWT (JSON Web Token)**: For user authentication and authorization.
- **bcryptjs**: For password hashing.
- **dotenv**: To manage environment variables.## Installation and Setup
Follow the instructions below to set up and run the project locally.### Prerequisites
- Node.js (v14 or higher)
- MongoDB (either locally installed or a cloud instance like MongoDB Atlas)
- npm or yarn### Steps
1. **Clone the repository**:
```bash
git clone https://github.com/your-username/your-backend-repo.git
cd your-backend-repo## Live Demo
[Visit the live website](https://homedesignstore.netlify.app)![home](https://github.com/user-attachments/assets/5761bd74-1804-437c-bc08-1ff0f2933349)
![ClickonPhoto](https://github.com/user-attachments/assets/de6853eb-2ef1-47fe-bd18-76ce5ded773d)
![product](https://github.com/user-attachments/assets/ebf46efa-dbbb-4ce0-8475-28752951caf1)
![product2](https://github.com/user-attachments/assets/a61d516d-9be4-4f1d-be1a-be86583097ab)
![allProducts](https://github.com/user-attachments/assets/dcb4de14-3dad-4b3f-8d80-3cc5308b99e1)
![shoppingCartInProductsPage](https://github.com/user-attachments/assets/0ae2bf7f-a8f1-4e77-ad53-9273ce7ee99d)
![ShoppingCart](https://github.com/user-attachments/assets/08d99909-ed7b-411b-928d-cf670e7b7337)
![login](https://github.com/user-attachments/assets/6d2fedb0-ebec-4f61-92d2-690ab1daf40f)
![signup](https://github.com/user-attachments/assets/b11175e6-8f0b-4e09-931a-235a61833875)