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 2 months 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 (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T17:30:44.000Z (6 months ago)
- Last Synced: 2024-08-24T02:43:01.235Z (4 months ago)
- Topics: e-commerce, ejs, expressjs, mongodb, multer, nodejs
- Language: EJS
- Homepage:
- Size: 509 KB
- Stars: 0
- 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
![2024-07-12 (5)](https://github.com/user-attachments/assets/2cf210e3-c190-43dc-a770-b0c16aa88a00)
# Products Page
![2024-07-12 (4)](https://github.com/user-attachments/assets/6ef38de7-9d55-4f25-a73c-206457257c64)
# Cart Page
![2024-07-12 (3)](https://github.com/user-attachments/assets/f6b3cd1c-ad60-46a2-9b1e-2c4eebaff87c)
## 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
```