An app built in react with vite that uses lord of the rings api.
- Css
- React
- Api (Application Programming Interface)
- Custom hooks to fetch data
- Hooks (useState, useEffect)
-
clone this repository
git clone repository-http-url
-
change your directory
cd repository-name
-
open your terminal and run if you are using npm then
npm install
oryarn
if you are using yarn. -
start your devlopment server by running command in your terminal
npm run dev
oryarn dev
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh