Tutorial 4 : CRUD User interfaces with Ionic

Tutorial 4 : CRUD User interfaces with Ionic

Html pages

Starting from mab2, modify the file in the www/templates folder, named profile.html with this content:
www/templates/profile.html

www/templates/device.html

www/templates/newDevice.html

www/templates/updateDevice.html

Service

www/js/services.js

Controller

Run the Server application

Download the server source code (lab3) from bitbucket:
https://bitbucket.org/intellitech-team/spring-labs/src/b07388e0252dc3680c5b57eea151432ea26a214d/Lab3/?at=master

Create database with name and run the script in PostgreSQL database :
src/main/resources/static/sql/insert.sql

Now, run the application by launching the SpringBootApplication class using the command mvn spring-boot:run and visit and authenticate with one of the two users:
: username=user, password=user
: username=admin, password=admin

Run the Mobile application

Download source Source code from :

https://bitbucket.org/intellitech-team/spring-labs/src/b07388e0252dc3680c5b57eea151432ea26a214d/Lab4(IONIC_CRUD)/?at=master and run the following command

Author: Nizar Ellouze

1 Comment
  • Posted at 11:15 am, April 14, 2017

    Thanks, great article.

Post a Comment

Comment
Name
Email
Website