This is an online e-commerce store where users can easily browse through products and make purchases online. The store is built using React for the frontend, Material-UI (MUI) for the user interface components, Node.js for the backend, MongoDB for the database, and Payfast for handling secure and convenient payments.
-
Product Browsing: Users can explore a wide range of products with detailed information, including images, descriptions, and prices.
-
User-friendly Interface: The frontend is developed using React and MUI, providing a smooth and responsive experience for users on various devices.
-
Secure Payments: The payment system is integrated with Payfast, ensuring secure and reliable online transactions.
-
Database: MongoDB is used as the database to store and manage product information and user data.
- Make sure you have Node.js installed on your machine.
- You'll need a MongoDB instance. You can set up a local instance or use a cloud-based service like MongoDB Atlas.
-
Clone the repository:
git clone https://github.com/ntandoyenkosi1/e-commerce-store.git
-
Navigate to the project directory:
cd e-commerce-store -
Install dependencies for both frontend and backend:
cd client npm install cd ../server npm install
- Configure MongoDB connection in the backend. Open the
.envfile in the backend directory and add your MongoDB connection string.
-
Start the backend server:
cd server npm start -
In a separate terminal, start the frontend:
cd client npm start -
Open your browser and navigate to
http://localhost:3000to see the e-commerce store in action.
This project is licensed under the MIT License.
Happy Shopping! 🛒✨






