Welcome to my first MERN (MongoDB, Express, React, Node.js) project, an e-commerce platform hosted at senheizer.xyz. This project aims to provide a fully functioning e-commerce experience, similar to other popular platforms.
- MongoDB: Used as the database for storing product information, user data, and order details.
- Express.js: Utilized for building the server-side application, handling routes, and interacting with the database.
- Node.js: Used as the server-side JavaScript runtime environment.
- HTML/CSS: Used for structuring and styling the web pages.
- Bootstrap: Utilized for creating a visually appealing and responsive design.
- User Authentication: Users can sign up, log in, and manage their accounts securely.
- Product Management: Admins can add, edit, and delete products, including images and descriptions.
- Shopping Cart: Users can add products to their cart, update quantities, and proceed to checkout.
- Order Management: Users can view their order history and track the status of their orders.
- Responsive Design: The application is designed to provide a seamless experience across various devices.
- ** and moreeeeee
- Clone this repository:
git clone <repository-url> - Install dependencies:
npm install - Set up environment variables:
- Create a
.envfile in the root directory. - Add the following variables:
MONGODB_ADDRESS='' mongodb localhost link PORT=4000 EMAIL_ADDRESS='' //email password PASS='' //email password KEY_ID='' //razorpay id SECRET_KEY='' //razorpay secret key SESSION_SECRET='' //session secret
- Create a
- Run the development server:
npm run dev - Open your browser and visit
http://localhost:3000to view the application.
Contributions are welcome! Feel free to open issues or submit pull requests for any improvements, bug fixes, or new features.
This project is licensed under the MIT License.
Special thanks to Senheizer for hosting this project and providing the opportunity to learn and develop skills in the MERN stack.