The basis for a golang http server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
emile ef3fe340d7
drone badge
2 months ago
hosted only linking to settings if user given 2 months ago
src passing in the db conn 2 months ago
.drone.yml drone file 2 months ago
Dockerfile basic dockerfile 2 months ago
README.md drone badge 2 months ago
config.yml admin user / db config 2 months ago
docker-compose.yml added the http-server to the compose 2 months ago
go.mod updated go mod 2 months ago
go.sum updated go mod 2 months ago

README.md

http-server

Go Report Card Build Status

The basis for a golang http server

Setup

As simple as:

Setup the database using the provided docker-compose:

$ docker-compose up -d postgres
…

Run the webserver.

Native:

$ go run ./...
…

In Docker:

$ docker-compose up -d http-server
…

Config

Configuration is done using the config.yml file