Microservices and Ionic

666 views Asked by At

Can you build a mobile app using ionic from a MEAN stack that utilizes micro services with AMQPS communication? My primary concern is if I'm building out micro services with Bluemix and each instance is independent - how would I migrate this architecture to a mobile app.

Thanks in advance.

1

There are 1 answers

0
David R. Cariello On BEST ANSWER

You have a few considerations when integrating Bluemix Mobile services into your current MEAN-AMPQS architecture:

Keep your Mobile Back-End completely separate

Since IBM Push Notifications (and associated Node.js runtime) can be accessed via REST, your mobile back-end app can be hosted on Bluemix, away from your existing work. You focus on creating your Mobile app to talk directly to what you already have.

Your interaction with Bluemix will be through the Bluemix Push Notifications dashboard, to configure native services and send notifications, and the Mobile Clent Access dashboard to configure mobile authentication. Once you have the SDK incorporated into your app You can also automate push messages through the REST api and require Facebook, Google+, or custom auth.

See IBM Push Notifications REST API and MCA documentation for details.

Migrate Your Entire MEAN Stack to Bluemix

The entirety of your MEAN stack is available on Bluemix and so are some MQ messaging services. This might not be exacty the same, but Bluemix provides the capability to do what you want completely in the cloud. You will also be saving space since the mobile services are bound to a Node.js runtime by default.

This may not be a good decision if you have sensitive data that you need secured on-site.

Keep Mongo DB Local and your Express Angular Node App on Bluemix

A good way to save time and space if you need your Mongo DB local. All your node code will be good to go on the Bluemix hosted runtime.