Locations API
In this episode we are going to use October CMS to create our locations API so that we can consume it with our Vue.js app.
First we are going to go to Octobers Builder plugin to create our database, models, controllers etc. Then with a bit of PHP we are going to create our locations API endpoint.
Then we are going to get that location data into our apps store, using Vuex of course. As you will see this is not going to go very well, so we are going to fix that situation using a bit of PHP on the API side of things.