Welcome to Foodzy, a modern and user-friendly platform for exploring delicious menus, booking tables, and enjoying culinary delights. This project is open-source and aims to offer a delightful restaurant experience through its clean and simple design.
Foodzy provides a seamless user experience where visitors can explore food menus, read about the restaurant, and even book a table. The platform is designed to be flexible and responsive, ensuring a great experience across all devices.
The project consists of two main components:
- Frontend: Built using React and Vite, it handles the user interface, interactions, and client-side logic.
- Backend: Built using Node.js and Express, it provides REST APIs for user management, authentication, and more.
- Home: A landing page with an introduction to the restaurant.
- About: A section with information about the restaurant's history and mission.
- Menu: Explore the restaurantβs various offerings, from appetizers to desserts.
- Book a Table: Users can reserve a table directly through the platform.
- Authentication: Secure user registration and login using JWT.
βββ πfoodzy
βββ πbackend # Backend code handling APIs and database
β βββ πcontrollers # API controllers
β βββ πdatabase # Database connection setup
β βββ πmiddlewares # Middleware for authentication
β βββ πmodels # MongoDB Models
β βββ πroutes # API routes
β βββ .env # Environment variables
β βββ .env.sample # Example environment variables file
β βββ app.js # Main backend app entry
β βββ index.js # Server setup
βββ πfrontend # Frontend code for user interface
β βββ πpublic # Public assets
β βββ πsrc # Source files for the frontend
β βββ πcomponents # Reusable React components
β βββ .env # Environment variables for frontend
β βββ App.tsx # Main React app file
β βββ index.html # Main HTML entry point
βββ .gitignore # Git ignore file
βββ package.json # Project dependencies and scripts
We welcome contributions to Foodzy! Here's how you can help:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Added new feature"
- Push to the branch:
git push origin feature/your-feature-name
- Submit a pull request.
Please make sure to follow the code style and conventions used in the project.