Local First from Scratch - How to make a web app with local data

In this tutorial, Scott shows you the ins and outs of working with IndexedDB via Dexie and Svelte Kit. We're talking foundational skills, so you can follow along with your framework of choice, NextJS & React developers can follow along too!

0:00 Intro 2:06 Npm Install 4:58 Database Initialization
10:26 Scripts and HTML
14:47 Saving Data
18:11 Loading Data
28:30 Auto Save
31:00 Offline
34:50 Exporting Data As JSON

In this app, we'll learn how to make an app that uses 100% local data stored in your browser that autosaves, works offline and allows users to export the data as JSON.

Based on: https://github.com/stolinski/invoicer Demo: https://invoice.tolin.ski/

Play / pause the audio
Minimize / expand the player
Mute / unmute the audio
Seek backward 30 seconds
Seek forward 30 seconds
Increase playback rate
Decrease playback rate
Show / hide this window