Skip to content

raymonkc10/API-Connected-Database-App

Repository files navigation

API to DB Demo

.NET MAUI Blazor app fetching posts from JSONPlaceholder API, saving to SQLite DB, reading back, displaying in list.

API Used

Flow

  • Button triggers: API call > Deserialize List > InsertAllAsync to DB > GetAllAsync for UI.
  • Shows 10 truncated posts (full 100 in DB).

Tech

  • .NET 9 MAUI Blazor Hybrid.
  • sqlite-net-pcl for DB.
  • Repository pattern.
  • DI in MauiProgram.cs.

Run

  1. Restore NuGets.
  2. Build & run on Android/Windows.
  3. Click button to fetch/save/display.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published