Home

Awesome

<p align="center"><br><img src="https://avatars3.githubusercontent.com/u/16580653?v=4" width="128" height="128" /></p> <h3 align="center">Ionic/Angular SQLite Synchronization App</h3> <p align="center"><strong><code>angular-sqlite-synchronize-app</code></strong></p> <p align="center">Ionic/Angular application demonstrating the use of the</p> <p align="center"><strong><code>@capacitor-community/sqlite</code></strong></p> <p align="center">in the context of synchronization with a remote server datase by using the import/export JSON facilities</p> <br> <p align="center"><strong><code>this app uses Capacitor3</code></strong></p> <br> <p align="center"> <img src="https://img.shields.io/maintenance/yes/2022?style=flat-square" /> <a href="https://github.com/jepiqueau/angular-sqlite-synchronize-app"><img src="https://img.shields.io/github/license/jepiqueau/angular-sqlite-synchronize-app?style=flat-square" /></a> <a href="https://github.com/jepiqueau/angular-sqlite-synchronize-app"><img src="https://img.shields.io/github/package-json/v/jepiqueau/angular-sqlite-synchronize-app/master?style=flat-square" /></a> <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> <a href="#contributors-"><img src="https://img.shields.io/badge/all%20contributors-1-orange?style=flat-square" /></a> <!-- ALL-CONTRIBUTORS-BADGE:END --> </p>

Maintainers

MaintainerGitHubSocial
Quéau Jean Pierrejepiqueau

Installation

git clone https://github.com/jepiqueau/angular-sqlite-synchronize-app.git 
cd angular-sqlite-synchronize-app
git remote rm origin
npm install
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",

Building Web Code

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

Building Native Project

Android

npx cap open android

Once Android Studio launches, you can build your app through the standard Android Studio workflow.

iOS

npx cap open ios

Electron

npx cap open @capacitor-community/electron

Test SQLite access

The @capacitor-community/sqlite tests are accessible directly at the home page.

Documentation

To use the @capacitor-community/sqlite, have a look to the documentation folder documentation sqlite

Contributors ✨

Thanks goes to these wonderful people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tr> <td align="center"><a href="https://github.com/jepiqueau"><img src="https://avatars3.githubusercontent.com/u/16580653?v=4" width="100px;" alt=""/><br /><sub><b>Jean Pierre Quéau</b></sub></a><br /><a href="https://github.com/jepiqueau/angular-sqlite-synchronize-app/commits?author=jepiqueau" title="Code">💻</a></td> </tr> </table> <!-- markdownlint-enable --> <!-- prettier-ignore-end --> <!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the all-contributors specification. Contributions of any kind welcome!