angular-sqlite-synchronize-app
Ionic/Angular application demonstrating the use of the
@capacitor-community/sqlite
in the context of synchronization with a remote server datase by using the import/export JSON facilities
this app uses Capacitor3
Maintainer | GitHub | Social |
---|---|---|
Quéau Jean Pierre | jepiqueau |
git clone https://github.com/jepiqueau/angular-sqlite-synchronize-app.git
cd angular-sqlite-synchronize-app
git remote rm origin
- then install it
npm install
- then go to the building process
npm run build
npx cap sync
npx cap sync @capacitor-community/electron
npm run build
npx cap copy
npx cap copy @capacitor-community/electron
the capacitor config parameters are:
"appId": "icom.jeep.app.ionic.angular.synchronize",
"appName": "angular-sqlite-synchronize-app",
The @capacitor-community/sqlite
is now implementing sqlite for Web Browsers using a companion Stencil component jeep-sqlite
which itself is based on sql.js
for in-memory and localforage
for storing the database in an IndexedDB storage.
if you run
npm run serve
npx cap open android
Once Android Studio launches, you can build your app through the standard Android Studio workflow.
npx cap open ios
npx cap open @capacitor-community/electron
The @capacitor-community/sqlite
tests are accessible directly at the home page.
To use the @capacitor-community/sqlite
, have a look to the documentation folder documentation sqlite
Thanks goes to these wonderful people (emoji key):
Jean Pierre Quéau 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!