https://github.com/amarjanica/react-native-sqlite-expo-demo
React Native Expo app showcasing SQLite integration, database migrations, and web support with AsyncStorage and IndexedDB. Includes integration tests and a multi-platform demo (native & web)
https://github.com/amarjanica/react-native-sqlite-expo-demo
asyncstorage demo demo-app expo expo-sqlite indexeddb integration-testing react-native-web redux redux-toolkit sqlite sqlite3
Last synced: 14 days ago
JSON representation
React Native Expo app showcasing SQLite integration, database migrations, and web support with AsyncStorage and IndexedDB. Includes integration tests and a multi-platform demo (native & web)
- Host: GitHub
- URL: https://github.com/amarjanica/react-native-sqlite-expo-demo
- Owner: amarjanica
- Created: 2024-09-26T18:51:31.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-02-27T16:45:22.000Z (4 months ago)
- Last Synced: 2025-06-09T22:08:00.138Z (21 days ago)
- Topics: asyncstorage, demo, demo-app, expo, expo-sqlite, indexeddb, integration-testing, react-native-web, redux, redux-toolkit, sqlite, sqlite3
- Language: TypeScript
- Homepage: https://www.amarjanica.com/tag/react-native-sqlite-expo-demo
- Size: 1.11 MB
- Stars: 17
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Native SQLite Expo Demo
A demo application built with Expo and React Native, showcasing the integration of SQLite
using expo-sqlite within an expo-router project. This app serves as an example of:
- Database SQLite Migration
- Integration Testing: Run integration tests for expo-sqlite in a Node.js environment.
The app functions as a simple "CRUD" (Create, Read, Delete) tasks manager.Read more about it in my blog post on [expo sqlite migrations and integration testing](https://www.amarjanica.com/bridging-the-gap-between-expo-sqlite-and-node-js/)
or [watch my YT tutorial](https://youtu.be/5OBi4JtlGfY).# App Screenshot
![]()
# Run it on Android
I've tested this demo only on android emulator.
```sh
npm i
# runs on expo go
npm run go:android
# or run on expo dev client
npm run dev:android
```# Tests
Tests don't need an emulator. They're just `jest` tests that you can run with `npm test` like any nodejs project.