made by Angelina Yakimova
Used API - Softuni practice server
npm i
npm start
Can't work without the server though.
npm run server
Create Edit Delete and Like are operetions that can be performed only by users or creators of the resource.
Shows user's own recipes.
- Implement showing liked recipes
- Change user credentials
Global context that stores state of user information. To have acces to user data stored you can use the hook.
const { user, login, register, logout, isAuthenticated } = useAuthContext();
Stores the state to Local Storage.
const [state, setstate] = useLocalStorage(key, initialState);
Handles fetch requests to API. Automatically attaches token if available.