
Master integrating the Platzi Fake Store API with JSON API and SwiftUI by building authentication, registration, login, refresh tokens, and a generic HTTP client to display categories, products, and locations.
Download the exercise files and resources to access mockups and running code, and grab the last or completed project to follow along.
Build a SwiftUI registration flow with input validation and async api integration against a fake store rest api, using an authentication controller and http client.
Learn to perform login with the plot c fake store API in a SwiftUI app, handling access and refresh tokens and persisting them in the keychain.
Develop a generic HTTP client in SwiftUI by modeling HTTP methods, codable resources, and a single load function that handles all endpoints, with bearer token authorization and robust error handling.
discover how to implement a refresh token flow to obtain a new access token on 401 unauthorized in a SwiftUI app. learn keychain storage, token refresh requests, and updating tokens.
Switch screens for logged-in users by implementing an authentication check that redirects to a home screen when access tokens are valid, using tokens stored in keychain and app storage.
Demonstrates displaying categories from the Plot C store via a tab view and category list screen, fetching data with HTTP client and handling loading and empty states.
Explore adding a new category in a SwiftUI app using a sheet, collect name and image, post via create category DTO, and update the category list.
Display products by category using a get products by category API, load them in a category-driven product list, and enable navigation toward product details in the next lecture.
Tap a product to view its detail screen, where the product is passed and displayed with a horizontal image carousel loaded via async image, plus the title, price, and description.
Learn to add a new product by building a create product request with title, price, category id, and images, then saving via a JSON API in SwiftUI.
Learn to delete a product by constructing a delete URL with the product id, handling a boolean response, and syncing server and client state after a swipe-to-delete.
Fetch locations from a locations API and display them on a SwiftUI map using MapKit, with coordinates, a fitting region, and annotations ready to show location details.
Tap map annotations to select a location, trigger a visual feedback, and present a location detail sheet powered by MapKit using coordinate regions.
Create a SwiftUI profile screen with a sign out button wired to the authentication controller, wrapped in a navigation stack, enabling a simple login/registration flow.
Explore the complete guide to integrating JSON API with SwiftUI alongside Adam Sharpe's School courses on foundation frameworks, SwiftUI, architecture, vapor, and a variety of workshops.
The Complete Guide to Integrating JSON API with SwiftUI
Stop building static apps. Learn how to connect your SwiftUI projects to real-world JSON APIs and create dynamic, data-driven experiences your users will love.
In this hands-on course, you’ll learn how to:
Fetch and display live data by integrating any RESTful JSON API into your SwiftUI app
Decode JSON into Swift models using Codable
Implement a generic, reusable networking layer with async/await
Add secure authentication with JWT and Keychain token storage
Display API-powered locations on a map using MapKit
Build a complete project from API call to polished SwiftUI interface
Why this course will help you succeed:
Modern apps thrive on live data, and employers want developers who can integrate APIs seamlessly. This course equips you with:
Real-world skills to work with APIs, authentication, and secure storage
A reusable architecture for clean, maintainable networking code
Portfolio-ready projects to showcase to clients or hiring managers
About the Instructor
This course is taught by Mohammad Azam, a renowned instructor with over 100,000 students worldwide. Many of his students have gone on to work at top companies, including Apple, JP Morgan Chase, and other leading organizations.
By the end, you’ll confidently integrate JSON APIs into SwiftUI apps, backed by a solid networking architecture that scales with your projects.