This project demonstrates how TypeORM can be used within a Cordova or Phonegap app by using the cordova-sqlite-storage plugin.
- Install the cordova cli:
npm install -g cordova
- Install all dependencies:
npm install
- Add your desired platform:
cordova platform add <ios | android>
- Run the app:
npm run <ios | android>
This project is deliberately set up to use no automation tools like gulp so you can integrate and use your own workflow.
- Install the plugin:
cordova plugin add cordova-sqlite-storage --save
- Install typeorm:
npm install typeorm --save
- Add
webpack.config.js
or merge it with existing one