This is a full-stack e-commerce project built using the MERN (MongoDB, Express.js, React.js, Node.js) stack. The project aims to provide a user-friendly online store experience with features such as product listing, shopping cart management, user authentication, and payment processing integration.
To run this project locally, follow these steps:
- Clone the repository:
git clone <repository-url>
- Install the dependencies for both the server and client:
npm install
- Start the development server:
npm start
- Open your browser and visit
http://localhost:3000
to access the application.
The following technologies and frameworks were used in the development of this project:
- MongoDB: A NoSQL database used for storing product data and user information.
- Express.js: A minimalistic web application framework for Node.js used to handle server-side logic and API routing.
- Node.js: A JavaScript runtime environment used on the server-side to run JavaScript code.
- JWT: JSON Web Tokens are used for authentication and authorization purposes.
- User authentication and registration.
- Product listing and categorization.
- Product search and filtering.
- Shopping cart management.
- User profile management.
- Order tracking and history.
The project has the following folder structure:
e-store/
├── controllers/........... # Request handlers
├── models/.................. # Database models
├── routes/.................... # API routes
├── middlewares/....... # Validation and Auth Middlewares
└── app.js...................... # Express app configuration