22 lines
476 B
Markdown
22 lines
476 B
Markdown
# 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` |