This repository contains the source code for a Node.js e-commerce website.
This Node.js e-commerce backend website provides a platform for users to browse, search, and purchase products online. The website is built using Node.js and various technologies.
- User authentication and authorization
- Product catalog with categories and search functionality
- Shopping cart functionality
- Checkout process and Order functionality
- User account management
- Order history and tracking
To run this project locally, follow these steps:
- Clone the repository
- Install dependencies
- Set up environment variables - Create a .env file in the root directory and add the following variables: a. PORT = 5000 b. MONGODB_URI = <your_URL> c. PASSWORD_KEY = <your_secret_key> d. JWT_KEY = <your_jwt_key>
- Use 'npm run dev' to run using nodemon
- Access the website at http://localhost:5000 in your web browser.