Simple api used for tracking holidays
Go to file
brajkovic bb4f465321 Initial commit 2023-06-16 07:42:50 +00:00
db Initial commit 2023-06-16 07:42:50 +00:00
migration Initial commit 2023-06-16 07:42:50 +00:00
.gitignore Initial commit 2023-06-16 07:42:50 +00:00
README.md Initial commit 2023-06-16 07:42:50 +00:00
db.go Initial commit 2023-06-16 07:42:50 +00:00
docker-compose-deploy.yml Initial commit 2023-06-16 07:42:50 +00:00
docker-compose.yml Initial commit 2023-06-16 07:42:50 +00:00
dockerfile Initial commit 2023-06-16 07:42:50 +00:00
go.mod Initial commit 2023-06-16 07:42:50 +00:00
go.sum Initial commit 2023-06-16 07:42:50 +00:00
main.go Initial commit 2023-06-16 07:42:50 +00:00
makefile Initial commit 2023-06-16 07:42:50 +00:00
render.go Initial commit 2023-06-16 07:42:50 +00:00

README.md

go-web-app-template

Basic template for creating go applications

Includes:

  • dotenv
  • pq
  • sqlx
  • chi
  • google.uuid

To start using make sure to setup either environment variables listed below, or create .env file and copy variables below

PSQL_HOST=localhost
PSQL_PORT=5432
PSQL_USER=template
PSQL_PASSWORD=templatePassword
PSQL_DB=template

Also, database is required for template to start, so you can start it with docker compose up -d