π Live Demo π
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.
- π 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
# 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
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
- 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
- Responsive navigation with hamburger menu
- Dynamic styling based on theme
- Authentication-aware navigation links
- Grid layout for recipe display with lazy loading
- Hover effects and shadows
- Image fallback handling
- Optimized rendering for better performance
- Styled form with blur effect
- Session storage integration
- Protected route redirection
- Hamburger menu for mobile devices
- Fluid layouts with styled-components
- Breakpoint-based styling
- Flexible grid system for recipe cards
Contributions make the open source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Distributed under the MIT License. See LICENSE
for more information.
Caner Yesiltas - [email protected]
Project Link: https://boston-recipe-app-lm7t-2p6xccloj-caner-yesiltas-projects.vercel.app