Status Checker
Golang http server to check active status of websites
Run Locally
Clone the project
git clone https://github.com/sainak/status-checker && cd status-checker
Configure environment variables
cp example.env .env
Build the app
go build
Start postgres
docker run -d --name postgres1 \
-v postgres_data:/var/lib/postgresql/data \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_DB=website-status \
-p 5432:5432 \
postgres:latest
Migrate db
./status-checker migrate up
Start the server
./status-checker serve