Chapter 2

Offline-First

SQLite + outbox + sync to the API.

~24 min total3 lessonsAssignment

By the end of this chapter you'll be able to

  • Use local SQLite
  • Queue local changes
  • Sync when online

Chapter assignment

Make a sale offline + sync

Disconnect from the internet. Record three sales in your app. Reconnect. Confirm all three sync to the server within 30 seconds and appear on the admin panel.

See success criteria

Lesson 1 takes ~7 min.

Start chapter

Spot a typo? Have an idea?

Help us improve this chapter. One click opens a GitHub issue with this chapter's URL pre-filled — suggest a clearer wording, report a bug, or request a new lesson. The course keeps improving thanks to learners like you.

Suggest an improvement on GitHub