"This repository hosts the code for Taste Haven, a food restaurant website. The site offers an interactive menu for customers to explore a variety of dishes, place online orders, and learn more about the restaurant’s services and location. With a user-friendly design and responsive features, Taste Haven delivers a smooth and enjoyable dining experience for all food enthusiasts."
- React 18: Highly performant and flexible UI components.
- Material Tailwind: Stylish and customizable UI elements.
- Firebase: Backend integration for authentication and data storage.
- Lottie Animations: Enhanced user experience with animations.
- Routing: Seamless navigation using React Router DOM.
- SweetAlert2: Beautiful and customizable alert pop-ups.
- Swiper: Interactive sliders and carousels.
| Category | Libraries/Tools |
|---|---|
| Frontend | React, React DOM, React Router DOM |
| UI Library | Material Tailwind, DaisyUI |
| Animations | Lottie React, Swiper, React Awesome Reveal |
| Backend | Firebase |
| Styling | Tailwind CSS, PostCSS, Autoprefixer |
| Utilities | Dotenv |
| Build Tool | Vite |
| Linting | ESLint |
Ensure you have the following installed:
- Node.js (>= 14.x)
- npm (comes with Node.js)
- Clone the repository:
git clone https://github.com/forhad1518/assignemt-a10.git cd assignment-10-client - Install dependencies:
npm install
Create a .env file in the root directory and add the necessary environment variables:
REACT_APP_API_KEY=your_api_key_here
REACT_APP_AUTH_DOMAIN=your_auth_domain_here
Start the development server:
npm run devnpm run buildnpm run previewnpm run lintassignment-10-client
├── public
├── src
│ ├── components
│ ├── pages
│ ├── services
│ └── App.jsx
└── package.json
| Command | Description |
|---|---|
npm run dev |
Start development server |
npm run build |
Build for production |
npm run preview |
Preview the production build |
npm run lint |
Run ESLint to check code quality |
- @emotion/react: ^11.13.5
- @material-tailwind/react: ^2.1.10
- dotenv: ^16.4.6
- firebase: ^11.0.2
- lottie-react: ^2.4.0
- react: ^18.3.1
- react-awesome-reveal: ^4.2.14
- react-dom: ^18.3.1
- react-fast-marquee: ^1.6.5
- sweetalert2: ^11.14.5
- swiper: ^11.1.15
- @eslint/js: ^9.15.0
- @types/react: ^18.3.12
- @types/react-dom: ^18.3.1
- @vitejs/plugin-react: ^4.3.4
- autoprefixer: ^10.4.20
- daisyui: ^4.12.14
- eslint: ^9.15.0
- eslint-plugin-react: ^7.37.2
- eslint-plugin-react-hooks: ^5.0.0
- eslint-plugin-react-refresh: ^0.4.14
- globals: ^15.12.0
- postcss: ^8.4.49
- react-router-dom: ^7.0.2
- tailwindcss: ^3.4.15
- vite: ^6.0.1
Feel free to open issues or submit pull requests for any improvements.
This project is licensed under the MIT License.
This README will help you maintain and showcase your project effectively. Happy coding, Forhad!