A comprehensive MERN stack e-commerce app tutorial covering product management, user authentication, and payment integration
Key metrics and engagement data
Repository has been active for 2 months
⭐25
Want deeper insights? Explore GitObs.com
Welcome to the MERN E-commerce Website repository! This project serves as a comprehensive tutorial for building an e-commerce application using the MERN stack. It covers essential features such as product management, user authentication, and payment integration.
This project leverages a variety of technologies:
To get started with the MERN E-commerce Website, follow these steps:
Clone the Repository:
bash1git clone https://github.com/roniepascal/mern-ecommerce-website.git
Navigate to the Project Directory:
bash1cd mern-ecommerce-website
Install Dependencies:
For the server:
bash1cd server2npm install
For the client:
bash1cd client2npm install
Set Up Environment Variables:
Create a .env
file in the server directory and add the necessary environment variables such as MongoDB URI and PayPal Client ID.
Run the Application:
Start the server:
bash1cd server2npm start
Start the client:
bash1cd client2npm start
Visit http://localhost:3000
to see the application in action!
Once the application is running, you can:
For more detailed instructions, refer to the Releases section where you can find specific builds and their corresponding documentation.
Here's a brief overview of the folder structure:
1mern-ecommerce-website/2├── client/ # React frontend3│ ├── public/ # Static files4│ ├── src/ # React components and assets5│ └── package.json # Client dependencies6└── server/ # Node.js backend7 ├── config/ # Configuration files8 ├── controllers/ # Request handlers9 ├── models/ # Database models10 ├── routes/ # API routes11 └── package.json # Server dependencies
We welcome contributions! If you have suggestions or improvements, please fork the repository and create a pull request.
git checkout -b feature/AmazingFeature
).git commit -m 'Add some AmazingFeature'
).git push origin feature/AmazingFeature
).This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, feel free to reach out:
Thank you for checking out the MERN E-commerce Website!