The main goal of that project is to practice working with REST API by solving various tasks, where we retrieve data from two different APIs. Very important, each Task is treated as a separate new project and I do not focus on styles. I focus mainly on RESTful-based data fetching.
Check the link to the Demo
Additionally, I created navigation between tasks to make the project clearer and more readable.
- Practicing working with more than one REST API calls 🚀
- Fetching Data 🚀
- Conditional Loading Message 🚀
- Handling Fetch Errors 🚀
- Added navigation between tasks 🚀
- Working with various array methods 🚀
Clone the project
https://github.com/CarolinaFledgling/next.js-rest-api-tasks.git
npm run dev
# or
yarn dev
Open http://localhost:8000 with your browser to see the result.
You can define them in .env for local development.
- NEXT_PUBLIC_WEATHERAPI=
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.