Skip to content

Caner-Yesiltas/Boston-Recipe-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

# Boston Recipe App πŸ§‘β€πŸ³

πŸ‘‰ Live Demo πŸ‘ˆ

TaskFlow Manager Demo

πŸ“Œ About The Project

Recipe App is a modern web application built with React that allows users to search and discover recipes. With a beautiful user interface and authentication system, users can explore various meal types and view detailed recipe information.

✨ Key Features

  • πŸ” Search recipes with keywords
  • 🍳 Filter by meal types (Breakfast, Lunch, Dinner, Snack, Teatime)
  • πŸ”’ User authentication system
  • πŸ’Ύ Session storage for user management
  • 🎨 Styled-components for dynamic styling
  • 🌈 Responsive design with hamburger menu
  • 🎯 Protected routes for authenticated users
  • πŸš€ Lazy loading for optimized performance
  • πŸ“± Efficient component rendering with lazy loading

πŸ› οΈ Built With

πŸš€ Getting Started

# Clone the repository
git clone https://github.com/caneryesiltas/recipe-app.git

# Navigate to project directory
cd recipe-app

# Install dependencies
yarn install

# Create .env file and add your Edamam API credentials
REACT_APP_APP_ID=your_app_id
REACT_APP_APP_KEY=your_app_key

# Start the development server
yarn start

πŸ’» Project Structure

src/
β”œβ”€β”€ components/
β”‚   β”œβ”€β”€ cards/          # Recipe card components with lazy loading
β”‚   β”œβ”€β”€ globalStyles/   # Global styling and theme
β”‚   β”œβ”€β”€ header/         # Search and filter components
β”‚   └── navbar/         # Navigation component
β”œβ”€β”€ pages/              # Lazy loaded pages
β”‚   β”œβ”€β”€ about/         
β”‚   β”œβ”€β”€ detail/         
β”‚   β”œβ”€β”€ home/           
β”‚   β”œβ”€β”€ login/          
β”‚   └── register/       
β”œβ”€β”€ router/
β”‚   β”œβ”€β”€ AppRouter.jsx   # Route configurations
β”‚   └── PrivateRouter.jsx # Protected route logic
└── App.js              # Main application component

πŸ” Core Functionality

  • Recipe Search: Users can search recipes using keywords
  • Meal Type Filtering: Filter recipes by different meal types
  • Authentication: Login/Register system with session storage
  • Protected Routes: Secure routes for authenticated users only
  • Responsive Design: Mobile-friendly interface with hamburger menu
  • Recipe Details: Detailed view for each recipe with ingredients
  • Performance Optimization:
    • Lazy loading implementation for pages and card components
    • Improved initial loading time
    • Better resource management
    • Optimized component rendering

🎯 Component Details

Navbar Component

  • Responsive navigation with hamburger menu
  • Dynamic styling based on theme
  • Authentication-aware navigation links

Cards Component

  • Grid layout for recipe display with lazy loading
  • Hover effects and shadows
  • Image fallback handling
  • Optimized rendering for better performance

Login Component

  • Styled form with blur effect
  • Session storage integration
  • Protected route redirection

πŸ“± Responsive Design

  • Hamburger menu for mobile devices
  • Fluid layouts with styled-components
  • Breakpoint-based styling
  • Flexible grid system for recipe cards

🀝 Contributing

Contributions make the open source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

πŸ“„ License

Distributed under the MIT License. See LICENSE for more information.

πŸ“« Contact

Caner Yesiltas - [email protected]

Project Link: https://boston-recipe-app-lm7t-2p6xccloj-caner-yesiltas-projects.vercel.app


Made with ❀️ by Caner Yesiltas

Releases

No releases published

Packages

No packages published