FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
Day 20 of #100DaysOfCode — Building a Tour App (Part 2)
How-ToWeb Development

Day 20 of #100DaysOfCode — Building a Tour App (Part 2)

via Dev.to ReactM Saad Ahmad1mo ago

Today marks Day 20 of my #100DaysOfCode challenge, and I finally started the actual coding phase of my tour application after setting up the project structure. In this part, I focused on: ✔ Fetching country data ✔ Using React Query for caching ✔ Fetching images from the Unsplash API ✔ Managing state with Zustand ✔ Displaying the final results in the UI Let’s walk through everything I built today. 🌍 Fetching Countries with Axios The first step was building a simple API utility to fetch countries from the API. import axios from ' axios ' export const fetchCountries = async () => { const { data } = await axios . get ( ' https://restcountries.com/v3.1/all?fields=name ' ) return data } This function sends a GET request to the REST Countries API and extracts only the name field. axios.get() → fetches all countries fields=name → reduces payload size Returns the cleaned data for consuming components and hooks 🔄 Using React Query ( useQuery ) to Cache Countries To handle caching and background

Continue reading on Dev.to React

Opens in a new tab

Read Full Article
48 views

Related Articles

How-To

What I learned about X-HEEP by Benchmarking

Medium Programming • 5h ago

No more Chinese Polestar 3s as production shifts entirely to the US
How-To

No more Chinese Polestar 3s as production shifts entirely to the US

Ars Technica • 6h ago

How-To

The most important 40 mcq with its answers How to use Android visual studio to make a mobile app

Medium Programming • 6h ago

What is Agent Script? How to Build Agents with It in Agentforce
How-To

What is Agent Script? How to Build Agents with It in Agentforce

Medium Programming • 7h ago

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.
How-To

I Coded 3 Famous Trading Strategies in Pine Script and Backtested All of Them. None Passed.

Medium Programming • 7h ago

Discover More Articles