status-checker

command module
v0.0.0-...-ea873bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2023 License: MIT Imports: 1 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL