apioo / fusio

Open source API management platform
https://www.fusio-project.org
Apache License 2.0
1.84k stars 218 forks source link

Best practices for custom url/domains #520

Open Pierre-Lannoy opened 1 year ago

Pierre-Lannoy commented 1 year ago

Hello all! I plan to deploy fusio as follow:

Do you have some recommendations / best practices / guidelines to do that? Thanks ☺️

chriskapp commented 1 year ago

Hi @Pierre-Lannoy so we have recently added a Domains-Chapter s. https://github.com/apioo/fusio#domains to our readme. In general I would recommend to create an api.example.com for the Fusio API and an developer.example.com for the developer app, since those sub-domains are pretty widely used. Regarding the other apps there is currently no real standard, but I would recommend to place at example.com a product website which only explains your product and then links to the API and developer portal. Since you most likely need some good SEO for your product and our developer portal is an angular app which is not the best solution for SEO content.

Pierre-Lannoy commented 1 year ago

Thanks for your answer @chriskapp 👍🏼 Regarding the "main" domain, SEO is not really my concern: this dev portal will be open to all my clients (for some endpoints) and for everybody who want to use it for all other endpoints. And visits will be driven from my main website (hosterra.eu). So, not really a big deal… Nevertheless, thanks for you inputs which reinforces my idea of "breaking out" features in subdomains (and thanks for the documentation I had missed 😊) From a technical point of view, what is the best approach?