An open API service indexing awesome lists of open source software.

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)

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


App Screenshot example

# 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.