Posts

Showing posts from December, 2019

SQLite Database CRUD Operation in Ionic 4

Image
Student Management Application:  SQLite Database CRUD Operation in Ionic 4 Let's start with this project. Install node.js in your system Go to link -  https://nodejs.org/en/  and install the latest version of ndoe.js After installing,    Check npm is working properly using the Command Prompt -    C:\Users\admin> npm -version    6.10.2 Install Ionic in your system Open Command Prompt and run below command.   npm install -g ionic Run below command before going ahead.   ionic start sqlLiteExample sidemenu   cd sqlLiteExample   ionic g service services/database   ionic g page pages/students   ionic g page pages/student   npm install @ionic-native/sqlite @ionic-native/sqlite-porter   ionic cordova plugin add cordova-sqlite-storage   ionic cordova plugin add uk.co.workingedge.cordova.plugin.sqliteporter You need a SQL script file to create a database and table. Open your application in file explorer and create studentScript.sql in assets direc