I used render.com for hosting the sites, and mongodb atlas for database.
Check this for each commit: https://github.com/hiteshmishra2103/web-dev/tree/main/Ecommerce-site
Getting Started
To get started with this project, you will need to have Node.js and MongoDB installed on your machine. You can download Node.js from the official website (https://nodejs.org/) and MongoDB from the official website (https://www.mongodb.com/).
Clone the repository: git clone https://github.com/your-username/ecommerce-website.git
Install the dependencies: npm install
Start the server: npm start
Open the website in your browser: http://localhost:3000
Features
This eCommerce website has the following features:
User registration and login Product catalog with search functionality Product details page Shopping cart Checkout process with payment integration Order history for registered users Admin dashboard for managing products and orders
Technologies Used
HTML CSS JavaScript Node.js Express.js MongoDB npm
Dependencies
This project uses the following npm packages:
express bcrypt body-parser cookie-parser ejs express-session multer stripe