Flutter REST API Crash Course

Build a Coronavirus Tracking App and learn how to use REST APIs in Flutter

Course Curriculum (2h40m)

  Intro to REST, the nCoV 2019 REST API, and REST Client
Available in days
days after you enroll
  Building an API Service with the Dart http package
Available in days
days after you enroll
  Building a Data Repository and creating the basic UI
Available in days
days after you enroll
  Loading data from multiple endpoints and polishing the UI
Available in days
days after you enroll
  Date formatting and reading the last updated date from the server
Available in days
days after you enroll
  Error handling & caching data with Shared Preferences
Available in days
days after you enroll

Course Description

Welcome to this crash course, where you will learn how to use REST APIs with Dart and Flutter.

I created this course because REST APIs are used everywhere in today's web. And if you master the basics of the Dart http library, you can write Flutter apps that can tap into thousands of web APIs.

In this crash course you will build a simple but completely functional Coronavirus tracker application in Flutter.

Included in this course

Short introduction to REST: what it is and how it works.

Overview of the nCoV 2019 health API. This is used to fetch global data about the Coronavirus outbreak.

Api keys & access tokens: what they are and how to use them.

REST Client: a VSCode extension that you can use to send HTTP requests and view the response directly in VS Code.

Design a REST API service using the Dart http package.

✅ Make requests and parse the JSON response data into strongly-typed model classes.

Build a dashboard UI with nice-looking cards that show the data from the API.

Combine multiple API requests into a single response by using futures.

Use a RefreshIndicator to get updated data from the API.

Error handling, and how to show alert dialogs to the user.

Data caching with Shared Preferences, so that the data is saved on device for offline use.

Most importantly, you will learn about good app architecture as a way to structure our code and keep it modular.

This course is all about mastering the basics. It covers many important topics, with attention to detail, and emphasis on how to write a production-ready app.

By the end of this course, you will be able to build Flutter apps that connect with any other REST API that you want to use.

Course Sections

Enroll Now

Frequently Asked Questions

Is this a complete Flutter course?

No. This is a crash course showing you how to use REST APIs with Dart & Flutter.

You will build a simple yet complete application, and become familiar with REST and the Dart http package.

With this knowledge, you can build Flutter apps with many other REST APIs.

Who is this course for?

This beginner to intermediate-level course is all about mastering the basics.

While we will only build a single page application, you will get all the knowledge you need to work with REST APIs in Dart, and use them to build slick-looking UIs in Flutter.

What are the prerequisites?

- Familiarity with the Dart Language (see my YouTube playlist for an introduction).

- Basic knowledge of Flutter, including stateless and stateful widgets.

- VSCode or Android Studio installed and configured for Flutter development.

Is the course updated to the latest Flutter & Dart packages?

Yes, I will update the course if there are any breaking changes.

Does this course include support?

Yes, this course offers premium support. I aim to answer all questions within 24 hours.

Is the source code included?

Yes, the full source code is available for free at this page on GitHub.

Can I get a student discount?

I'm happy to offer a 40% discount to students. Send me an email at [email protected] showing that you are a student, and I'll give you a discount code.

This course is not valuable for me and I want a refund.

You can get 100% money back guarantee within 30 days. No questions asked. I only want happy students and I'm happy to give a full refund.

Hi, I’m Andrea.

I have extensive experience in mobile app development, having built complex apps for various clients and as an independent developer.

I'm passionate about teaching. I launched Code With Andrea and a YouTube channel to create high quality Flutter tutorials.

My courses are clear, concise, and based on real-world examples. Just like my code. Watch my videos for a first-hand experience.

They include a lot of practical advice and tips that will make you more productive, and a better software developer.

Life is short. Your time matters. I want to help you make the most of it, and enjoy your journey.