douqin231881 2017-12-06 10:38
浏览 93
已采纳

使用Laravel托管ReactJS

We are in the final stages developing a web application. It has a front-end in React and a back-end in Laravel. They communicate by sending JSONs back and forth (API style), so they can be hosted on seperate servers without many problems.

During development we switched to Firebase, because this way we could host React for free, but we need some logic in the back-end and Firebase is not ideal for this.

What is the best solution to host an application that uses React for the front-end and Laravel for the back-end?

  • 写回答

1条回答 默认 最新

  • duanpo2813 2017-12-06 17:52
    关注

    This is a very generic question. There are plenty of hosting providers out there - AWS, Google Cloud, DigitalOcean to name a few.

    To decide which one is the best, you need to provide more information:

    • What matters most to you? Pricing, support, availability, technology solutions / capabilities, ease of scaling?
    • What's your tech stack, starting with database, caching, CDNs, etc.(the whole works)? Laravel and ReactJS alone does not describe your tech stack unless you're using local file drivers for everything (such as sessions, cache, config) and SQLite as your DB.
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?