EG Mart is a responsive shopping website built using React, Tailwind CSS, DaisyUI, and React Router DOM. Users must log in to access the site and can search for products by name, brand, and sort by category, price, and date. The project also includes pagination and is fully responsive.
- User Authentication: Users must log in to access the shopping platform.
- Product Search: Search for products by product name or brand name.
- Sorting: Sort products by category, price, and date added.
- Pagination: Display products with pagination for easier navigation.
- Responsive Design: The app is fully responsive, ensuring a great experience on mobile, tablet, and desktop devices.
- Tailwind CSS & DaisyUI: Styled with modern utility-first CSS and UI components.
You can access the live demo of the project here: EG Mart
To run this project locally, follow the steps below:
Ensure you have the following installed on your machine:
-
Clone the repository:
git clone https://github.com/codeamin-git/eg-mart-client.git
-
Navigate to the project directory:
cd eg-mart-client -
Install the dependencies:
Using npm:
npm install
Or using yarn:
yarn install
-
Start the development server:
Using npm:
npm run dev
Or using yarn:
yarn run dev
-
Open the browser and navigate to:
http://localhost:5173
This will run the project on your local development server.
To create a production build of the project:
Using npm:
npm run buildOr using yarn:
yarn buildThis will create an optimized production build in the build folder.
- React: A JavaScript library for building user interfaces.
- React Router DOM: Used for navigation between different pages.
- Tailwind CSS: A utility-first CSS framework.
- DaisyUI: Tailwind CSS-based UI components.
- Firebase: For hosting and authentication.
To deploy this project to Firebase, ensure Firebase CLI is installed:
npm install -g firebase-toolsThen, deploy using:
firebase deployEnsure you configure your Firebase project settings in the firebase.json file.
- Add a cart and checkout functionality.
- Implement user profiles and order history.
- Integrate payment gateways for seamless transactions.
This project is licensed under the MIT License.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
For any inquiries or issues, feel free to contact me:
Happy coding! ✨