Integrate the project with the DVLA API to display detailed information about saved cars.
- Instalation: After running
npm inoticed lot of vulnarabilities then noticed thatreact-scriptsandviteboth present. Removedreact-scriptsupdated theviteand other pakages. - Created a route for CarDetails.jsx
- Fixed Garage.jsx and CarDetails.jsx
- Styled neatly and mobile friendly
- CI/CD with vercel and github (Preview on Pull request, Automatic deployments from main)
- Save to localstorage the vaild and verified cars
- Error displaying and error handeling
- Proxy on local dev and the vercel deployment uses serveless function to get DVLA data.
- Custom hook to get DVLA data.
# copy .env.example to .env
cp .env.example .env
# modify the .env.example with the api key
# install
npm i
# run dev
npm run dev