This is the frontend part of an Ecommerce website built using React and Redux. The frontend communicates with the backend to display products, manage user authentication, handle orders, and more.
- User Authentication
- Product Search and Filtering
- Product Reviews and Ratings
- Shopping Cart and Checkout Process
- Admin Dashboard for Managing Products, Orders, and Users
- Responsive Design
- React
- Redux
- Redux Thunk
- React Router
- Axios
- React Icons
- React Alert
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/itxnargis/Ecommerce-Website-Frontend.git cd Ecommerce-Website-Frontend
-
Install dependencies:
npm install
-
Set up environment variables:
Create a .env file in the root directory and add your environment variables. You might need to set the REACT_APP_BACKEND_URL for the backend API.
REACT_APP_BACKEND_URL=http://localhost:5000
-
Run the application:
npm start
-
Open the browser:
Navigate to http://localhost:3000 to see the application running.
- Home Page: Browse featured products and search for specific items.
- Product Details: View detailed information about a product, including reviews and ratings.
- Cart: Add products to the cart and proceed to checkout.
- Authentication: Register and log in to your account.
- Admin Dashboard: Manage products, orders, and users (available for admin users).**
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes.
- Commit your changes (git commit -m 'Add some feature').
- Push to the branch (git push origin feature-branch).
- Open a pull request.
Feel free to copy and paste this into your README.md
file and customize it as needed.