Welcome to TasteBook, your ultimate culinary companion! This web application allows users to explore, search, and bookmark a vast collection of food and drink recipes. Whether you're a seasoned chef or a curious food enthusiast, TasteBook has something delicious for everyone!
Check out the live version of TasteBook here.
- Search Recipes: Easily find your favorite dishes with our intuitive search functionality.
- Bookmark Your Favorites: Save recipes for later and create your personalized recipe collection.
- Explore Articles: Discover fascinating facts and histories about various foods and drinks.
- Responsive Design: Enjoy a seamless experience on all devices, from desktops to smartphones.
TasteBook is built using modern web technologies:
- Vanilla JavaScript: For all the interactive features.
- Vite: A fast build tool that enhances development experience.
- Tailwind CSS: For beautiful, responsive designs using utility classes.
- HTML5 & CSS3: The backbone of our layout and styling.
- MVC Architecture: To keep our code organized and maintainable.
- Facade Pattern: Simplifying interactions between components.
- Publisher-Subscriber Pattern: For efficient event handling and communication.
-
Development Dependencies:
-
autoprefixer
: "^10.4.20" - Adds vendor prefixes to CSS rules. -
postcss
: "^8.4.41" - Tool for transforming CSS with JavaScript plugins. -
prettier-plugin-tailwindcss
: "^0.6.6" - Prettier plugin for sorting Tailwind CSS classes. -
tailwindcss
: "^3.4.9" - Utility-first CSS framework for building designs. -
vite
: "^5.4.0" - Next-generation front-end tool for faster development.
-
-
Dependencies:
-
axios
: "^1.7.4" - Promise-based HTTP client for the browser and Node.js. -
core-js
: "^3.38.1" - Modular standard library for JavaScript. -
gsap
: "^3.12.5" - High-performance animation library for the web. -
lenis
: "^1.1.9" - Smooth scrolling library. -
regenerator-runtime
: "^0.14.1" - Runtime for using generator functions. -
swiper
: "^11.1.10" - Modern mobile touch slider. -
yup
: "^1.4.0" - JavaScript schema builder for value parsing and validation.
-
TasteBook utilizes the following APIs to fetch delicious recipes and drink information:
- Forkify API - A robust API for searching and retrieving food recipes.
- TheCocktailDB - A comprehensive API for accessing cocktail recipes and drink details.
To run the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/callmedeci/TasteBook.git
cd tastebook
- Install the dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and visit http://localhost:3000 to see TasteBook in action!
We welcome contributions to make TasteBook even better! Here�s how you can help:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes and push to your branch.
- Open a pull request to discuss your changes.
This project is licensed under the GNU General Public License v3.0.
- Tailwind CSS for the amazing styling framework.
- Vite for super-fast development.
- All contributors and food enthusiasts for making this project possible!