Hi,
This is my first post. And i am new to this forum. Not sure if this question is asked before. My apologies if this question is repeated.
I was wondering if technically it is possible. That the Discourse forum could be separated into two components / Modules the REST API and the website.
Such that the API part can be hosted separately on cloud hosting services like Digital Ocean , AWS.
And the other part the website can be hosted separately on other hosting platforms which provide static website hosting.
gh-pages a hosting platform by github is a wonderful platform for hosting static websites. It is also free of cost.
This approach can have various Advantages.
-
We can develop a mobile app like an Android app and a i-os app which could directly connect with the api.
-
Reduced load and data transfer on cloud API server -
When the website part is hosted separately the server doesnt need to transfer the html and web pages. This could considerably reduce the data-transfer load on the api server.
- Reduction in overall Cost of Hosting and operating cost :
When the html/ javascript part is hosted on free hosting platforms like gh-pages. The data transfer through the api would be much less. Therefore it would enable us to host the forum on cloud server with lower memory and processing capacity.
- Easy to customise the forum - Most of the people doesnt know ruby and server side coding, But they might still know html / css and javascript. Therefore , by seperating the api and the website. It would make it much easier to customise the forum.
Right now also it is easy to customise the forum. but separation would make it more easier.
Anyway,
Any — Thoughts ? Inputs ? and suggestion.