This is the frontend application for an E-Commerce web application built using React.js.
To get started with this project, follow the instructions below.
Make sure you have the following software installed on your system:
- Node.js (version >= 12.0.0)
- npm (Node.js package manager)
-
Clone the repository to your local machine:
git clone https://github.com/AMH-digi-soultions/Ecommerce_main
-
Navigate to the project directory:
cd ecommerce-frontend
-
Install the dependencies:
npm install
Before running the frontend application, make sure the backend server is running and accessible. Update the backend server URL in the .env
file if necessary.
To start the frontend application, run the following command:
npm start
The application will start running on http://localhost:3000
.
The project structure is organized as follows:
public/
: Contains static assets and the HTML template.src/
: Contains the React components, styles, and other frontend code.components/
: Contains reusable UI components.pages/
: Contains page components representing different views of the application.App.js
: Main component that renders other components.index.js
: Entry point of the application.
Once the application is running, you can access it in your web browser. The application provides a user interface to browse products, view product details, add products to the cart, and proceed to checkout.
Contributions to this project are welcome. If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.