ubcgrades
ubcgrades copied to clipboard
Question: how is this hosted?
Just curious, how is this hosted?
I use Gunicorn to serve the Flask app. I then use nginx as a reverse proxy to the API, and to serve the static files. This is hosted on a small VPS, where I also use Let's Encrypt to create the HTTPS certificates. Lastly I use CloudFlare as a one-stop for CDN, caching, page rules, etc.
Thanks. Does it cost much to host?
I just use free services. Both Oracle Cloud and Google Cloud have perpetual free tiers that give you compute instances to try out. You do need a credit card though. The only thing that's costing dollars is the domain.
Hosting this does not require much compute resources if at all. Caching does all the heavy work. You could just host everything at home and use something like cloudflared to expose it to the internet without port-forwarding or exposing your home network.