First off let me say that I have read this forum since December and I have noticed that nearly all of you are awesome devs, I rarely ask for help but I’m at the point now to where I literally haven’t a clue of what to do. I have searched for days on trying to get my api to hook up to ember-data’s RESTAdapter. I have tried putting Ember in the root folder of my Laravel App and though I could get the application to load up, I coulnd’t get Ember to show my data from the API and I got a bunch of content security violations. I posted another thread about it on here in detail. Anyway,
Now I am left with …
- Should I put my Laravel App (api) on Heroku and develop my Ember app locally like I normally do. Then when I it comes time to deploy put it on Heroku as well. or
- Create a new Ember app in my Sites directory where all my frontend stuff gets built and then create my Laravel App (api) in my Projects Directory -where my server side gets built and uses vagrant- I have no idea on how to get vagrant to work with Ember CLI, What I am confused on is that both Ember and Vagrant use localhost so how will Ember data know which host the api is in?
I am sincerely asking for some real advice on getting these two technologies to work. I love them both and want to use them both and can’t wait to learn a lot about Ember. I just need some advice from you guys because you all seem like you know what the heck your doing. If you do reply thank you so so much. I really do appreciate any feedback on this matter. Every article I find is either outdated or uses rails.