dorflv5944 2019-05-06 23:51
浏览 151

在Heroku中部署Laravel后端时,是否可以将React项目部署到Netlify?

I have a mini project for practicing my skills in React and Laravel and I wanted to deploy it online so I can add it to my portfolio and also for future job applications.

Does it work if I deploy the front end code (React) in Netlify and the back end code (Laravel) in Heroku?

Wanted to test it out since its both free to deploy in those ways. I already tried deploying both front end and back end in just Heroku and wanted to test some things differently.

  • 写回答

1条回答 默认 最新

  • dongse5528 2019-07-19 13:58
    关注

    Yes, it's possible you just have to add Functions to your front app.

    Tutorial React APP to Netlify : https://www.netlify.com/blog/2016/07/22/deploy-react-apps-in-less-than-30-seconds/

    Function API example : https://functions-playground.netlify.com/

    Hope this helps.

    评论

报告相同问题?

悬赏问题

  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料