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

[V2] domains and API exposure changes #722

Open
geromegrignon opened this issue Sep 24, 2021 · 3 comments
Open

[V2] domains and API exposure changes #722

geromegrignon opened this issue Sep 24, 2021 · 3 comments

Comments

@geromegrignon
Copy link
Contributor

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:

  • locally with Stackblitz
  • remotely with 'deploy to' buttons (Heroku, Railway...)

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
Copy link
Contributor

tobiu commented Oct 28, 2021

"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
Copy link
Contributor Author

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
Copy link
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants