Foddy is a modern and responsive restaurant web application built using React and Vite. It provides a seamless user experience with smooth navigation, attractive design, and interactive components to showcase restaurant features, menus, and customer reviews.
- Dynamic Rating System: Includes a rating system using
@smastrom/react-rating
andreact-star-rating-input
for user feedback. - Interactive UI: Leverages
react-icons
andswiper
for an engaging interface. - Routing: Efficient navigation with
react-router-dom
. - Modern Styling: Styled with Tailwind CSS for a clean and responsive design.
- TypeScript Ready: Includes type definitions for React.
- React: Version 18.3.1 for building a responsive UI.
- Vite: For fast development and optimized builds.
- Tailwind CSS: For modern and responsive design.
- Swiper: For interactive carousels and sliders.
- React Router: For dynamic and declarative routing.
- React Icons: For easy-to-use icons.
- React Rating Libraries: For dynamic and customizable rating systems.
- ESLint: For maintaining code quality and enforcing coding standards.
- PostCSS: For enhanced CSS processing.
- Autoprefixer: For cross-browser compatibility.
Follow the steps below to set up the project locally:
-
Clone the Repository:
git clone https://github.com/najatul6/foddy.git cd foddy
-
Install Dependencies:
npm install
-
Run the Application:
npm run dev
-
Build for Production:
npm run build
-
Preview Production Build:
npm run preview
foddy/
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable UI components
│ ├── pages/ # Application pages
│ ├── routes/ # Routing configuration
│ ├── styles/ # Tailwind and CSS files
│ └── App.jsx # Main application file
├── .eslintrc.js # ESLint configuration
├── tailwind.config.js # Tailwind CSS configuration
├── vite.config.js # Vite configuration
└── package.json # Project metadata and dependencies
npm run dev
: Starts the development server.npm run build
: Builds the application for production.npm run preview
: Previews the production build locally.npm run lint
: Lints the project for code quality.
@smastrom/react-rating
prop-types
react
react-dom
react-icons
react-router-dom
react-star-rating-input
swiper
@eslint/js
@vitejs/plugin-react
autoprefixer
eslint
eslint-plugin-react
eslint-plugin-react-hooks
postcss
tailwindcss
vite
- Fork the repository.
- Create a new branch for your feature:
git checkout -b feature-name
. - Commit your changes:
git commit -m 'Add new feature'
. - Push the branch:
git push origin feature-name
. - Open a pull request on GitHub.
This project is licensed under the MIT License. See the LICENSE file for details.
Happy coding! Enjoy building with Foddy!