React Native Expo app showcasing SQLite integration, database migrations, and web support with AsyncStorage and IndexedDB. Includes integration tests and a multi-platform demo (Android & web).
I made first version of the app to showcase how you can to database migrations
and configure integration tests to be run in a Node.js environment.
Read more about it in my blog post on expo sqlite migrations and integration testing
or watch my YT tutorial.
Codebase
I've added web support to the app, so it can run on the web. You can dynamically switch between
different storage types: SQLite, AsyncStorage and IndexedDB. SQLite is supported on the web via
sql.js.
Read more about it in my blog post on expo sqlite, indexeddb and asyncstorage on the web
or watch my YT tutorial.
Codebase
I've integrated Redux into the app to manage global state more efficiently.
I've tested this demo natively on android emulator.
npm i
# runs on expo go
npm run go:android
# or run on expo dev client
npm run dev:android
npm i
npm run web
Tests don't need an emulator. They're just jest
tests that you can run with npm test
like any nodejs project.