Website Link: E-Commerce
Description
This project is an E-commerce website developed using HTML, CSS, JavaScript, Node.js, and MongoDB. It allows users to register, browse products, add them to their cart, and make purchases. The system has two types of users: regular users and administrators.
User Roles
- User: Browse products, add products to cart, make purchases.
- Admin: Manage product database, including adding, removing, or updating products.
Installation
To run this project locally, follow these steps:
- Clone the repository: git clone https://github.com/Pratham-D14/E-Commerce.git
- Navigate to the project directory: E-Commerce
- Install dependencies: npm/yarn install
- Set up the MongoDB database and create a .env file in the root directory with the following environment variables: DB_CONNECTION=your_mongodb_connection_stringJWT_SECRET=your_jwt_secret_key
Usage
- Start the server: npm start
Technologies Used
- HTML, CSS, and JavaScript are used in Frontend Development
- Node.js is used for Backend and Creating API's
- MongoDB used to store users and product data in Database
- JSON Web Token (JWT): Used for authentication and generating access tokens for user sessions.
Access to Website
- Users Panel: Simply register and login with username and passsword
- If you wish to access the admin panel, please contact me via GitHub or email to obtain the credentials.
i. GitHub: Pratham-D14
ii. Email: pratham14104@gmail.com