Let's say you wanted to create a throwaway dynamic Web API in a few hours; for example, for a hackathon or a demo. How would you build it and deploy it?
Conversation
Notices
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 15-Dec-2024 05:32:56 JST Evan Prodromou -
Embed this notice
Ian Sutherland 🇨🇦 (iansu@cosocial.ca)'s status on Sunday, 15-Dec-2024 05:39:23 JST Ian Sutherland 🇨🇦 @evan in the past I probably would have said Heroku but these days I’m not sure. I would probably try something like Railway: https://railway.app
-
Embed this notice
levent sönmez (lanartri@mastodon.social)'s status on Sunday, 15-Dec-2024 05:40:59 JST levent sönmez @evan few hours fastapi, few days django
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 15-Dec-2024 05:40:59 JST Evan Prodromou @lanartri How would you deploy it?
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 15-Dec-2024 05:41:58 JST Evan Prodromou @gabriel where would you deploy your Docker image and why?
In conversation permalink -
Embed this notice
Gabriel Viso Carrera (gabriel@fedi.gvisoc.com)'s status on Sunday, 15-Dec-2024 05:41:59 JST Gabriel Viso Carrera @evan Without any more requirements or restrictions, maybe httpbin on a docker host.
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 15-Dec-2024 05:47:57 JST Evan Prodromou @gabriel Can you create quick CRUD APIs with that? It seems pretty useful.
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 15-Dec-2024 05:50:49 JST Evan Prodromou @lanartri Ha! If it were me, the entire hackathon would be over and everyone would have gone home and I'd still be sitting in the dark by myself trying to debug my GitLab configuration scripts.
In conversation permalink -
Embed this notice
levent sönmez (lanartri@mastodon.social)'s status on Sunday, 15-Dec-2024 05:50:50 JST levent sönmez @evan probably, gitlab ci/cd -> docker image -> linode/do etc. (via ssh)
In conversation permalink -
Embed this notice
John Caruso (john@cosocial.ca)'s status on Sunday, 15-Dec-2024 05:51:42 JST John Caruso @evan The last time I did something like this for a prototype I used Vercel and deployed the front end there along with their server/lambda functions equivalent for the api.
In conversation permalink -
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 15-Dec-2024 06:18:43 JST Evan Prodromou @paulrbr @microcksio no, live public API for a hackathon, demo or POC. Not an in-process mock library.
In conversation permalink -
Embed this notice
PaulR 🐻❄️ (paulrbr@pouet.chapril.org)'s status on Sunday, 15-Dec-2024 06:18:44 JST PaulR 🐻❄️ @evan if its really just for testing you could go with only writing examples data, and put that in a mocking service. E.g. with the excellent open-source project @microcksio
https://microcks.io/documentation/references/examples/In conversation permalink Attachments
-
Embed this notice
Evan Prodromou (evan@cosocial.ca)'s status on Sunday, 15-Dec-2024 06:19:38 JST Evan Prodromou @gabriel let's say live, public API that your collaborators can test and build with.
In conversation permalink -
Embed this notice
Gabriel Viso Carrera (gabriel@fedi.gvisoc.com)'s status on Sunday, 15-Dec-2024 06:19:39 JST Gabriel Viso Carrera @evan If I was doing a hackathon in a machine hosted in the same lan, for a demo in my host machine. Why? Probably for simplicity and not rely on third parties.
In conversation permalink -
Embed this notice
Gabriel Viso Carrera (gabriel@fedi.gvisoc.com)'s status on Sunday, 15-Dec-2024 06:19:40 JST Gabriel Viso Carrera @evan Nah if you need to precan your responses there are seemingly useful things like https://github.com/typicode/jsonplaceholder
In conversation permalink Attachments
-
Embed this notice
Erin Dalzell (He/Him) (emd@cosocial.ca)'s status on Sunday, 15-Dec-2024 08:38:50 JST Erin Dalzell (He/Him) @evan laravel, small DO droplet, deploy via Ploi
In conversation permalink
-
Embed this notice