Skip to content

Dive into the asynchronous world of React by creating an application that fetches and displays blog posts from an API. You'll practice handling API calls with the Fetch API, managing application state, and gracefully handling errors.

Notifications You must be signed in to change notification settings

Duma107/CS20240130_WFO2407_B_Dumisani_Nxumalo_DJS10

 
 

Repository files navigation

DJS10 - Asynchrony Blog Posts

A React application that demonstrates asynchronous data fetching, error handling, and state management using the JSONPlaceholder API.

Features

  • Fetches blog posts from JSONPlaceholder API
  • Elegant error handling with user-friendly messages
  • Clean component architecture
  • Loading states for better UX
  • Responsive design with Tailwind CSS

Getting Started

  1. Clone the repository
  2. Install dependencies: npm install
  3. Start the development server: npm run dev

Project Structure

  • src/components/ - Reusable UI components
  • src/hooks/ - Custom React hooks
  • src/types/ - TypeScript interfaces
  • src/services/ - API and data fetching logic

About

Dive into the asynchronous world of React by creating an application that fetches and displays blog posts from an API. You'll practice handling API calls with the Fetch API, managing application state, and gracefully handling errors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 73.3%
  • JavaScript 18.7%
  • HTML 6.9%
  • CSS 1.1%