Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kshiti-24/e-commerce-website
Full Stack Web Application built using Nodejs, Express, Mongoose, EJS, Multer, Flash.
https://github.com/kshiti-24/e-commerce-website
e-commerce ejs expressjs mongodb multer nodejs
Last synced: about 1 month ago
JSON representation
Full Stack Web Application built using Nodejs, Express, Mongoose, EJS, Multer, Flash.
- Host: GitHub
- URL: https://github.com/kshiti-24/e-commerce-website
- Owner: Kshiti-24
- Created: 2024-07-12T16:57:20.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T17:30:44.000Z (7 months ago)
- Last Synced: 2024-11-11T21:39:08.065Z (3 months ago)
- Topics: e-commerce, ejs, expressjs, mongodb, multer, nodejs
- Language: EJS
- Homepage:
- Size: 509 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-Commerce-Website
Welcome to the E-Commerce Website project! This web application provides a platform for users to browse, purchase products, and manage their accounts. Built using Node.js, Express, and Mongoose, this project ensures a seamless shopping experience with essential e-commerce functionalities.
# Login/Register Page

# Products Page

# Cart Page

## Features
- **User Registration**: New users can create an account to access the website's features.
- **User Login with Authentication**: Registered users can log in securely using their credentials.
- **Product Managemen**t: Admin users can create products and add feature images.
- **Add to Cart**: Users can add products to their cart for purchase.
- **User Logout**: Users can log out, with their session managed through cookies.## Technologies Used
- **Node.js**: JavaScript runtime built on Chrome's V8 JavaScript engine.
- **Express**: A fast, unopinionated, minimalist web framework for Node.js.
- **Mongoose**: Elegant MongoDB object modeling for Node.js.
- **Cookie-Parser**: Middleware to handle cookies.
- **Multer**: Middleware for handling file uploads.
## Getting Started### Prerequisites
Ensure you have the following installed on your local machine:
- Node.js
- npm (Node Package Manager)
- MongoDB Compass
- Postman### Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/e-commerce-website.git
cd e-commerce-website
```
2. Install dependencies:
```bash
npm install
```
3. Set up environment variables:- MONGO_URI = your_mongodb_connection_string
- SECRET = your_secret_key
4. Start the server:
```bash
npm start
```
5. Open your browser and navigate to:
```
http://localhost:3000
```