cefc5314f2 | ||
---|---|---|
db | ||
migration | ||
state | ||
stripe | ||
templates | ||
wspay | ||
.gitignore | ||
README.md | ||
db.go | ||
docker-compose-deploy.yml | ||
docker-compose.yml | ||
dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
makefile | ||
render.go |
README.md
go-web-app-template
Basic template for creating go applications
Includes:
- dotenv
- pq
- sqlx
- gin
- 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=payment-poc
PSQL_PASSWORD=paymentPassword
PSQL_DB=payment-poc
Also, database is required for template to start, so you can start it with docker compose up -d