Full Stack App from Scratch – iOS and SQL Commands – 06

In this video, we’ll be using our JHipster full stack application that we’ve been developing in previous videos to back an iOS mobile app’s data. Most mobile apps need some kind of shared data store that lives on the internet that the app can use. This may be data directly related to the user, or more generic like in our case.

So, if you remember, our web application will store and display multiple courses and lessons on multiple disciplines that we talk about on the Electronic Armory such as 3D, game development, electronics and of course mobile and web application development. So in this video, I’ll be showing you how to tap into that data and pull it into a mobile app. In the future we’ll build that out into a fully featured mobile app. For now we’ll keep it simple by showing you how to communicate with the web services API that’s built into JHipster. We’ll use Alamo Fire for convenience when communicating to our API, but it’s certainly not needed.

In order to allow an anonymous user to pull from our API, we’ll change some SQL in JHipster to allow that to happen. You can use this same command through different endpoints to allow or not allow access to certain pieces of data.

Once you have your JHipster application up and running. Let’s take a look at it’s APIs using Swagger to investigate how the API works.

Alamofire Library:
https://github.com/Alamofire/Alamofire

Source Code:
https://github.com/ElectronicArmory/Armory

Data model:
https://s3-us-west-2.amazonaws.com/electronic-armory/full-stack/jhipster-jdl.jh

Part 5 of the series on building a full stack application:
https://www.youtube.com/watch?v=qoL0jL0x7RI&index=5&list=PLP8n25bNfkdcGTINO2ZJXnzvMGK3nm3zY

Get JHipster:
https://jhipster.github.io/

 

 

youtube-subscribe

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.