This is a harry-potter App; That I developped it with React Js and Tailwind css. The api i used is:https://hp-api.onrender.com/api/
working with muli-Contexts was a challenging for me in this App! In this app User can choose a category (Characters, Spells or Staff), The related data will be apear. adding item to favourite (LocalStorage) or removed it from favourites-part, searching in datas, Pagination between data are the features of this app!Built in hooks | Custom hooks |
---|---|
useState | useQuery |
useEffect | useFetch |
useParams | useFavourite |
useNavigate | useSetLocalStorage |
useContext | useSearch |
usePagination |
git clone https://github.com/masoumehmohebbi/react-harry-potter-api/
npm i
npm run dev