An open API service indexing awesome lists of open source software.

https://github.com/maciejkuran/hello-smoothie

Smoothies orders and delivery. Demo app. 🥦🥒🍆🍅
https://github.com/maciejkuran/hello-smoothie

firebase firebase-realtime-database framer-motion react react-hooks rest-api

Last synced: 3 months ago
JSON representation

Smoothies orders and delivery. Demo app. 🥦🥒🍆🍅

Awesome Lists containing this project

README

          

# hello! smoothie 🥕

It is my next React project. It is an application that, despite its small size, is relatively complex:

- custom hooks `useHttp` (for HTTP requests) and `useInput` (for getting and validating single input);
- configuring Firebase Realtime Database;
- sending `get` and `post` requests to Firebase API (handling possible errors);
- Framer-motion library used to create a draggy products carousel;
- building & using a custom `ContextProvider` components;
- creating central place for cart state & logic, managing cart state with `useReducer`'s function and providing `value` to children components via`Context.Provider`;
- managing checkout form validation & handling possible errors;
- basic performance optimization (memoization).

I designed the app in natural Earthy colors, in an old-school style.

🥦🥒🍆🍅 [hello! smoothie - LIVE](https://hello-smoothie.netlify.app/)