hypermedia-app / Alcaeus

Hydra core hypermedia library
https://alcaeus.hydra.how
MIT License
61 stars 3 forks source link

The herokuapp of the demo app is down #317

Open sebastienh opened 1 year ago

sebastienh commented 1 year ago

Hello,

The endpoint for demo is down. I am trying the example with this url https://always-read-the-plaque.herokuapp.com/plaque/red-rocks-amphitheatre and I do not get any response.

Could it be possible to restart it?

Thanks!

tpluscode commented 1 year ago

Hu. Sorry about that. Since heroku no longer supports free dynos, I stopped this deploymend.

Got any alternative suggestions?

sebastienh commented 1 year ago

If the app is built using one of these frameworks, I think there is a generous free tier plan on Vercel.

If it's built with something else, I don't have any easy solution, but you could make the backend code available on github, to let people run it locally. This way we could make the example pointing at localhost e.g. https://always-read-the-plaque.herokuapp.com/plaque/red-rocks-amphitheatre to http://localhost:3000/plaque/red-rocks-amphitheatre.

A possible improvement on the later solution would be to offer a way to specify just the host, so that all examples automatically point at the right place. But this would be more of a "nice-to-have": I am totally, and I think most people are, comfortable just editing the examples manually.

tpluscode commented 1 year ago

It is running plain express. That also appears supported by Vercel. I could try deploying there

sebastienh commented 1 year ago

Great!!! I'll go through your documentation when available.

Thanks for your work!