最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How to deploy a web application with multiple backends? - Stack Overflow

programmeradmin0浏览0评论

I coded up a basic website with MERN as my primary tech stack. But I had to use Python's backend framework Flask to use LangChain(There was some issue with Langchain and Js). I wish to deploy this project. How do i do this? In websites such as render they allow you to select only one language. Additionally, a new folder by the name .venv was created, I am confused as to what to deploy and what not to. Any assistance is appreciated. Here is the link to the project: .

I coded up a basic website with MERN as my primary tech stack. But I had to use Python's backend framework Flask to use LangChain(There was some issue with Langchain and Js). I wish to deploy this project. How do i do this? In websites such as render they allow you to select only one language. Additionally, a new folder by the name .venv was created, I am confused as to what to deploy and what not to. Any assistance is appreciated. Here is the link to the project: https://github.com/S-Dhruv/AlgoDaily.

Share Improve this question asked yesterday Dhruv ShahDhruv Shah 211 silver badge1 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

You can deploy multiple backends to a single server with different ports(ex: 80 and 3000). There are no issues when you need render pages by only one backend, and the other backend is needed to management data. If you need render pages by each backends... I think you should open all ports of backends and implement that urls to link.(ex: 'base_url:3000/...')

发布评论

评论列表(0)

  1. 暂无评论