Welcome to the documentation for our delightful Culinary Hub built with React and TypeScript. π²πΉ
This project was made in one month by four students.
Our team of four first-year master's students in MIAGE proudly presents a comprehensive platform for culinary enthusiasts. This web application provides users with the ability to explore a vast collection of recipes, including culinary dishes, cocktails, and detailed nutrition information.
Browse through a diverse range of culinary recipes, carefully curated to cater to various tastes and preferences.
Discover and shake up your favorite cocktails with our extensive collection of cocktail recipes.
Stay informed about the nutritional content of different products from various brands, including Nutriscore ratings and the Nova classification.
- React: The foundation of our project, facilitating the creation of interactive and dynamic user interfaces.
- TypeScript: Enhancing code quality and providing a more robust development experience.
- Components: Leveraging React's component-based architecture for modular and reusable code.
- Hooks: Utilizing essential React hooks such as
useState
,useEffect
,useNavigate
,useLocation
, and custom hooks for efficient state management and navigation.
culinary-hub/
.
βββ jest.config.js
βββ package.json
βββ README.md
βββ src
β βββ api
β β βββ datadb.ts
β βββ App.css
β βββ App.tsx
β βββ assets
β β βββ fried-egg.png
β β βββ goBackIcon.png
β β βββ img-not-found.png
β β βββ magnifying-glass.png
β β βββ sample-recipe.jpg
β β βββ search.png
β β βββ yt-logo.png
β βββ components
β β βββ Category
β β β βββ Category.stories.tsx
β β β βββ Category.tsx
β β β βββ style.css
β β βββ DetailRecipeCard
β β β βββ DetailRecipeCard.stories.tsx
β β β βββ DetailRecipeCard.tsx
β β β βββ style.css
β β βββ Navbar
β β β βββ Navbar.stories.tsx
β β β βββ Navbar.tsx
β β β βββ style.css
β β βββ Novascore
β β β βββ Novascore.stories.tsx
β β β βββ Novascore.tsx
β β β βββ style.css
β β βββ Nutriscore
β β βββ NutritionInfoCard
β β βββ PreviewRecipeCard
β β βββ RandomRecipeCard
β β βββ SearchBar
β β βββ SwitchDakMode
β β βββ SwitchSetting
β β βββ YouTubeVideo
β βββ constants
β β βββ RecipeType.ts
β β βββ RouteBuilder.ts
β βββ context
β β βββ DarkModeContext.tsx
β βββ dto
β β βββ FullRecipeDTO.ts
β β βββ PreviewRecipeDTO.ts
β βββ errors
β β βββ NoResultFoundError.ts
β βββ hooks
β β βββ cocktails
β β β βββ useCocktailById.ts
β β β βββ useCocktailsByName.ts
β β β βββ useCocktailsByTextQuery.ts
β β β βββ useRandomCocktail.ts
β β βββ meals
β β β βββ useMealById.ts
β β β βββ useMealsByName.ts
β β β βββ useMealsByTextQuery.ts
β β β βββ useRandomMeal.ts
β β βββ nutrition
β β βββ useNutritionInfo.ts
β βββ index.css
β βββ index.tsx
β βββ mappers
β β βββ FullDrinkMapper.ts
β β βββ FullMealMapper.ts
β β βββ NutritionInformationMappper.ts
β β βββ PreviewDrinkMapper.ts
β β βββ PreviewMealMapper.ts
β βββ pages
β βββ Cocktail
β β βββ Cocktail.tsx
β β βββ style.css
β βββ Cocktails
β β βββ Cocktails.tsx
β β βββ style.css
β βββ Home
β β βββ Home.tsx
β β βββ style.css
β βββ Meal
β βββ Meals
β βββ Nutrition
β βββ NutritionResults
β βββ SearchRecipes
βββ tsconfig.json
βββ yarn.lock
This project is licensed under the MIT License - see the LICENSE file for details.
Thank you for exploring our Culinary Hub!
In the project directory, you can run:
Run this command for installing project related dependencies. Do it going further.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.