HostelChef is a recipe application built to help hostel students discover easy and quick recipes based on the type of cooktop they have (kettle, induction, gas stove). This is the frontend part of the application built using the Vue.js framework.
- Search Functionality: Users can search for recipes by name or ingredient.
- Filters: Recipes can be filtered based on difficulty (easy, intermediate), number of ingredients, and type of cooktop.
- Latest Recipes: The homepage showcases the latest recipes added to the platform.
- Recipe Detail Page: Clicking on a recipe provides detailed information, including ingredients, instructions, cooktop type, and more.
- Dynamic Filtering: Easily find recipes that are hostel-friendly by choosing from a variety of cooking setups like kettles or gas stoves.
- Mobile Friendly: Fully responsive design that works across different screen sizes.
- Frontend: Vue.js
- Vue Router for navigating between pages.
- Custom components for displaying recipes.
- Backend: Node.js, Express.js
- REST API to handle recipe retrieval and search functionality.
- Routes for fetching and searching recipes from MongoDB.
- Database: MongoDB
- Stores recipe data including details like ingredients, instructions, and metadata (tags, time, difficulty).
- Styling: SCSS for custom styles and a clean, responsive UI.
HostelChef/
├── public/
├── src/
│ ├── assets/ # Images and icons
│ ├── components/ # Vue components (Recipe Cards, Filters, etc.)
│ ├── views/ # Page views (Home, Recipe Details, etc.)
│ ├── router/ # Vue Router configuration
│ ├── App.vue # Main app component
│ ├── main.js # Entry point for Vue
| └── config.js # URL of the Api
└── README.md
-
Clone the repository:
git clone https://github.com/gautham2k3/HostelChef.git cd HostelChef
-
Install dependencies:
npm install
-
Start the development server:
npm run serve
Make sure the HostelChef Backend is running to fetch data for the recipes.
The frontend interacts with the backend to fetch recipe data. Here are the main API endpoints used:
- GET /api/recipes: Fetch all recipes
- GET /api/recipes/:id: Fetch details of a specific recipe
We welcome contributions! Feel free to open an issue or submit a pull request for improvements or bug fixes.
This project is licensed under the MIT License.
For any questions or suggestions, reach out to bgautham27@gmail.com.