gothinkster / realworld

"The mother of all demo apps" — Exemplary fullstack Medium.com clone powered by React, Angular, Node, Django, and many more
https://realworld-docs.netlify.app/
MIT License
80.62k stars 7.34k forks source link

[V2] domains and API exposure changes #722

Closed geromegrignon closed 3 months ago

geromegrignon commented 3 years ago

Issue triage and features implementations aren't moving as fast if I expected as I spend most of my time trying to get access to the realword.io and productionready.io domains and related hosting solutions to update the currently hosted implementations.

The current situation makes the maintenance tied to private accounts owned by former maintainers.

I don't plan to leave the project but I always work taking the bus factor in consideration.

As a matter of fact, here are the planned changes to avoid having the project tied to external resources:

Front official implementation

This implementation will be hosted with Github Pages. The related repository will be given an agnostic name to avoid being tied to the stack (ie realworld-front and not react-realworld-official-app).

Backend official implementation

The usage of the API will be limited to the official front implementation. It'll allow maintainers to change the API without caring about the impact upon the community.

For the community, I'll provide different ways to host the API:

Such changes will help to reduce hosting costs as well.

Impacts on V1 hosted implementations

The V1 API will stay available as there are too many implementations using it. The V1 frontend implementation will be updated to encourage people to use the V2 one when it'll be released.

tobiu commented 3 years ago

"The V1 API will stay available as there are too many implementations using it." Right now, it does no longer work => well, there is no content.

https://conduit.productionready.io/api/articles?limit=10&offset=0 => {"articles":[],"articlesCount":0}

https://api.realworld.io/api/articles?limit=10&offset=0 => {"articles":[],"articlesCount":0}

geromegrignon commented 3 years ago

Hi @tobiu, I'm facing some bug with mock data being deleted due to sleep mode of the free tier of the Heroku server used right now.

Waiting for upcoming Stackblitz sponsoring for an 'always on' server tier, I'm working on a fix.

geromegrignon commented 3 years ago

Hey @tobiu,

As explained earlier, I moved the Heroku dyno to a paid plan, and content isn't deleted anymore. I added more articles and comments.

geromegrignon commented 3 months ago

discontinued task