/url-shortener

An url shortener made with Go

Primary LanguageGo

Url shortener

An url shortener made with Go.

Deployment

The server is deployed at the following address: https://url-shortener-p3em.onrender.com/

Sleep preventer

The server is hosted on Render.

"Render spins down a Free web service that goes 15 minutes without receiving inbound traffic." (source)

To prevent the server from sleeping, a GitHub action was used to make an HTTP request to the server every 10 minutes (.github/workflows/sleep-preventer.yml).

A cron job is now set up to replace the GitHub action.