Hi Robert, building a REST API may be the right approach if your data is already stored behind Rails and you have the kinks in your data model worked out. Once the API is exposed, you can use patterns similar to the ones shown in the class to do some AJAX calls and mark the orders as placed/redeemed/etc. The following resources may be useful to learn how to build a REST API in your Rails app:
As Michael alluded to, the other option would be for you to port your data to App Services instead. But that means you’d have to recode your UI and some of your business logic as well. If you’re interested in that option nonetheless, you would have to
1) export your tables in (maybe in CSV),
2) convert them to JSON (maybe with a tool like
https://github.com/darwin/csv2json) — you may need to recombine the data there too, if your App Services data model does not match your relational data model.
3) import them in App Services (by just doing a POST of the JSON representation of each table to each collection endpoint).