Welcome to the MyEcommerce project! This repository contains both the frontend and backend code for a comprehensive E-commerce platform.
- Frontend: Built using React, this part of the project offers a dynamic and responsive user interface for customers to browse products, add them to the cart, and make purchases.
- Backend: Powered by Strapi, the backend provides a robust API for product management, user authentication, order processing, and more.
client/
: Contains all frontend code built with React.server/
: Houses the Strapi-powered backend.
Before you begin, ensure you have the following installed:
- Node.js and npm
- A local or remote instance of a database supported by Strapi (e.g., MongoDB, MySQL, etc.)
The backend is powered by Strapi, a headless CMS providing the necessary API endpoints for product management, user authentication, order processing, and other essential E-commerce operations. Strapi offers a visually intuitive admin panel to manage the content and monitor the operations of the E-commerce platform.
-
Navigate to the Backend Directory:
cd server/
-
Install Dependencies:
-
Start the Strapi Server:
Once the server starts successfully, the Strapi admin panel will be accessible at http://localhost:1337/admin.
Overview
The frontend is built using React, a popular JavaScript library known for its efficiency and flexibility. The interface provides users with a dynamic and responsive platform to browse products, manage their cart, and complete their purchases. Additionally, it interacts seamlessly with the Strapi backend to fetch products, manage user sessions, and process orders.
- Navigate to the Backend Directory:
cd client/
- Install Dependencies:
- Start the Strapi Server:
The application will then be accessible at http://localhost:3000, and it will automatically open in your default browser.
Pull requests are welcome! For significant changes, please open an issue first to discuss what you would like to change.