A React-based E-commerce Application that allows users to browse, add products to the cart, and manage orders. It includes features like authentication, dynamic cart management, and a responsive design.
- User Authentication: Login and register users via Firebase.
- Product Listing: Browse products available for purchase.
- Add to Cart: Users can add products to their shopping cart.
- Cart Management: View and update cart items and quantities.
- Responsive Design: Optimized for desktop and mobile views.
- Error Pages: Custom 404 page for invalid routes.
This project is built using:
- React.js: Framework for building interactive UIs.
- React Router: For managing routing in the app.
- Firebase: For authentication and database management.
- React Bootstrap: For responsive UI components.
- CSS3: For custom styling.
- Node.js & npm: Dependency and package management.
- VS Code: Source code editor.
shopyt/
├── node_modules/
├── public/
│ ├── favicon.ico
├── src/
│ ├── components/
│ │ ├── card/
│ │ ├── cartItem/
│ │ ├── common/
│ │ ├── firebaseUI/
│ │ ├── layout/
│ ├── context/
│ │ ├── auth.context.js
│ │ ├── cart.context.js
│ │ ├── product.context.js
│ ├── pages/
│ │ ├── auth/
| │ │ ├── auth/
│ │ | ├── cart/
│ │ | └── home/
│ │ └── misc/
| | └── page404/
│ ├── App.css
│ ├── App.js
│ ├── index.js
├── .gitignore
├── package-lock.json
├── package.json
└── README.md
Follow these steps to set up the project locally:
Ensure you have the following installed:
- Node.js: Download it from Node.js official website.
- npm: Comes with Node.js.
git clone https://github.com/guru-bandike/shopyt.git
cd shopyt
npm install
- Create a .env file in the root of the project by copying the provided .env.example file:
cp .env.example .env
- Open the .env file and replace the placeholder values with your actual environment settings.
npm start
The app will run on http://localhost:3000.
This project is licensed under the MIT License.