This is an e-commerce web application built using the MERN stack (MongoDB, Express.js, React, and Node.js). It allows users to browse and purchase products, view their order history, and manage their account information.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
- Node.js
- MongoDB
Installation
-
Clone the repository:
git clone https://github.com/Nitesh-thapliyal/E-Commerce
-
Install the dependencies:
npm install
-
Start the development server:
npm start
-
Create a .env file in the root directory with the following:
MONGO_URI=your_mongodb_uri
JWT_SECRET=your_secret_key
-
Run the application in the development mode: npm run dev
-
Open http://localhost:3000 to view it in the browser.
Deployment
-
Build the application for production:
npm run build
-
Start the production server:
npm start
Built With
- MongoDB - The database used
- Express.js - The web framework used
- React - The front-end library used
- Node.js - The back-end runtime environment
Payment Gateway
- Stripe
Status
- Completed
Nitesh Thapliyal - Initial Work
- @Nitesh-thapliyal