todo-host-api
Todo-host-api is a self hosted todo list api build in Go
Requirements
Configuration
Createthe environment variables from the .env.example, for example:
POSTGRES_HOST=host.docker.internal
POSTGRES_USER=admin
POSTGRES_PASSWORD=root
POSTGRES_PORT=5432
POSTGRES_DB=todohost
API_PORT=8000
Running
Use docker-compose to run the api
docker-compose up -d --build
Use
go to http://localhost:8000/swagger/index.html to get api doc
