Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2026 01:54 PM
Hi @prajwalpoojary ,
Given you already have Streamlit on 0.0.0.0:8000 and FastAPI on 127.0.0.1:8080, you can keep that split and do server-side calls from Streamlit to http://127.0.0.1:8080/. It’s efficient and avoids cross-origin/auth issues. If you later want external clients to call the API, move those endpoints under /api on the public 8000 server and use OAuth tokens.
This blog post walks through setting up a react chat frontend to interact with a FastApi backend.