ngoahamos / nativescript-typeorm-angular

Simple Typeorm Example for Nativescript Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TypeORM Example For Nativescript Angular

A Simple Example to demonstrate the typeorm library using Nativescript and Angular. I may have added RadListview also :)

Note: This works only with NativeScript 4.x and above

The typeorm/browser package is raw ES7 code with import/export which will NOT run as it is. It has to be bundled, therefore using webpack is compulsory.

So please make sure you are using {N} in bundle mode. if webpack is not installed, then

tns install webpack

Install nativescript-sqlite

tns plugin add nativescript-sqlite

Install typeorm

npm install typeorm

You may need to install node typings:

npm install @types/node --save

Demo

demo

About

Simple Typeorm Example for Nativescript Angular

License:Apache License 2.0


Languages

Language:JavaScript 46.6%Language:TypeScript 39.1%Language:HTML 11.0%Language:CSS 3.3%