https://github.com/rgvirer/project_node
Home Design Store - E-Commerce Backend Built with Node.js
https://github.com/rgvirer/project_node
backend expressjs html javascript mongodb mongoose nodejs
Last synced: 3 months ago
JSON representation
Home Design Store - E-Commerce Backend Built with Node.js
- Host: GitHub
- URL: https://github.com/rgvirer/project_node
- Owner: RGvirer
- License: mit
- Created: 2024-02-12T13:23:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-20T11:51:26.000Z (5 months ago)
- Last Synced: 2025-03-22T06:11:27.430Z (4 months ago)
- Topics: backend, expressjs, html, javascript, mongodb, mongoose, nodejs
- Language: JavaScript
- Homepage: https://homedesignstore.netlify.app
- Size: 9.67 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)







