How yogitharayapureddy-lang/recipehub works
This repository is a recipe-sharing application with a React/TypeScript frontend and a Spring backend. The main user journey is to explore or search recipes, optionally sign in, then publish or manage recipes, save and rate them, or customize ingredients and see adjusted instructions. Frontend calls are visible in the excerpts; backend implementation details are available only from the file tree, so backend connections are shown as unverified where appropriate.
Main entry points: App.tsx Recipe interface · CustomizeIngredients.tsx Ingredient customization · api.ts HTTP API client · controller API controllers
Components 14
Recipe experience
- Recipe interface
src/App.tsx - Browse and search
src/App.tsx - Account access
src/App.tsx - Recipe publishing
src/App.tsx - Saved and rated
src/App.tsx - Ingredient customization
src/CustomizeIngredients.tsx - Instruction adjustment
src/recipeInstructionUtils.ts - React entry
src/main.tsx
API client
- HTTP API client
src/api.ts
Backend
- API controllers
food-recipe-backend/src/main/java/com/example/food_recipe_backend/controller - Recipe service
food-recipe-backend/src/main/java/com/example/food_recipe_backend/service - Recipe and user data
food-recipe-backend/src/main/java/com/example/food_recipe_backend/entity - Data repositories
food-recipe-backend/src/main/java/com/example/food_recipe_backend/repository
Other components
- Recipe user
Connections 13
- Recipe user → Recipe interface: uses
- React entry → Recipe interface: renders
src/main.tsx - Recipe interface → Browse and search: presents
src/App.tsx - Recipe interface → Account access: handles
src/App.tsx - Recipe interface → Recipe publishing: handles
src/App.tsx - Recipe interface → Saved and rated: handles
src/App.tsx - Recipe interface → Ingredient customization: renders
src/App.tsx - Ingredient customization → Instruction adjustment: generates steps
src/CustomizeIngredients.tsx - Recipe interface → HTTP API client: requests data
src/App.tsx - HTTP API client → API controllers: calls HTTP API
src/api.ts - API controllers → Recipe service
- Recipe service → Data repositories
- Data repositories → Recipe and user data