Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend, improve local development with localhost #1344

Merged
merged 15 commits into from
Sep 19, 2024

Conversation

tiangolo
Copy link
Member

@tiangolo tiangolo commented Sep 16, 2024

♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend, improve local development with localhost

Simplify local development with the same ports as local reloading servers, this way it's easier to swap the Docker frontend for the local frontend and the Docker server for a local fastapi dev server or similar.

Having separated domains also opens the possibilities for deploying things even on different servers.

@tiangolo tiangolo changed the title ♻️ Simplify domains with api.example.com for API and dashboard.example.com ♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend Sep 16, 2024
@tiangolo tiangolo changed the title ♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend ♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend, improve local development with localhost Sep 19, 2024
@tiangolo tiangolo marked this pull request as ready for review September 19, 2024 18:07
@tiangolo tiangolo enabled auto-merge (squash) September 19, 2024 18:07
@tiangolo tiangolo merged commit 79d240f into master Sep 19, 2024
10 checks passed
@tiangolo tiangolo deleted the separate-domains branch September 19, 2024 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant