Let's say you wanted to create a throwaway dynamic Web API in a few hours; for example, for a hackathon or a demo.
-
Ian Sutherland đšđŠreplied to Evan Prodromou last edited by
@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
-
@evan few hours fastapi, few days django
-
Evan Prodromoureplied to levent sönmez last edited by evan@cosocial.ca
@lanartri How would you deploy it? Be specific, please.
-
Evan Prodromoureplied to Gabriel Viso Carrera last edited by
@gabriel where would you deploy your Docker image and why?
-
@evan probably, gitlab ci/cd -> docker image -> linode/do etc. (via ssh)
-
@gabriel Can you create quick CRUD APIs with that? It seems pretty useful.
-
@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.
-
@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.
-
Gabriel Viso Carrerareplied to Evan Prodromou last edited by
@evan Nah if you need to precan your responses there are seemingly useful things like https://github.com/typicode/jsonplaceholder
-
Gabriel Viso Carrerareplied to Gabriel Viso Carrera last edited by
@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.
-
PaulR đ»ââïžreplied to Evan Prodromou last edited by
@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/ -
Evan Prodromoureplied to PaulR đ»ââïž last edited by
@paulrbr @microcksio no, live public API for a hackathon, demo or POC. Not an in-process mock library.
-
Evan Prodromoureplied to Gabriel Viso Carrera last edited by
@gabriel let's say live, public API that your collaborators can test and build with.
-
Erin Dalzell (He/Him)replied to Evan Prodromou last edited by
@evan laravel, small DO droplet, deploy via Ploi