This repository contains the frontend code for an ecommerce website built using React. The website interacts with a Strapi API for backend functionalities. The website consists of several pages including:
- Home Page
- Cart Page
- Wishlist
- Login
- Signup
- Profile Page
Here is the live link to the website: Demo Website
To run this project locally, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/anushkasingh1701/demo.git
-
Navigate to the project directory:
cd demo -
Install dependencies:
npm install
-
Start the development server:
npm start
-
Visit
http://localhost:3000in your web browser to view the website. -
🚀 Getting started with Strapi
Strapi comes with a full-featured Command Line Interface (CLI) which lets you scaffold and manage your project in seconds.
develop: Start your Strapi application with autoReload enabled.
npm run develop # or yarn developstart: Start your Strapi application with autoReload disabled.
npm run start # or yarn startbuild: Build your admin panel.
npm run build # or yarn build
- Home Page: Displays featured products and categories.
- Cart Page: Allows users to view and manage items in their shopping cart.
- Wishlist: Allows users to add items to their wishlist for later purchase.
- Login: Allows users to log in to their accounts.
- Signup: Allows new users to create an account.
- Profile Page: Displays user information and order history.
- Responsive UI: Responsive UI for all devices.
While the project includes the basic functionalities mentioned above, it lacks some advanced features such as:
- Payment processing
- Product reviews and ratings
- Search functionality
- Order tracking
Contributions to this project are welcome! If you find any bugs or have suggestions for improvements, please open an issue or submit a pull request.
Special thanks to the creators of React and Strapi for providing the tools necessary to build this ecommerce website.