Skip to content

dayane112/Recipe-saver-app_Frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Recipe Application

A React-based application that allows users to create, view, and manage recipes, along with integrating weather features and eventually login functionalities.

Features

Recipe Management:

  • Add, view, edit, delete and display categorized recipes with images.

Weather Integration:

  • Displays user location and current weather using OpenWeather API.
  • Supports geolocation-based.

User Authentication:

  • Login/logout functionality using cookies.

Project Structure

Components

  • CreateRecipe.jsx: Add new recipes via a form.
  • FetchAllRecipe.jsx: Display all recipes. isplaying image and name of reciper with category-specific default images.
  • FetchOneRecipe.jsx: Show detailed information for a single recipe with it's id where you can edit and delete recipe.
  • CurrentLocation.jsx: Fetch and display the user’s current location using geolocation.
  • CurrentWeather.jsx: Display weather details in Fahrenheit for current location.

Utilities

  • controller.mjs: Contains API methods for fetching recipe (createRecipe, getRecipe, findOneRecipe).
  • backgroundIMG.mjs: Provides default images based on recipe categories if no image is provided.

Context

  • loginContext.jsx: Manages login state where it will display all recipe page if you have selected login.

Styles

Custom CSS files for each component and pages.

Resource

Image Resource

Github BackEnd URL

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors