A simple phonebook app using Golang and GORM.
- go 1.13+
- PostgreSQL
- Docker
- Docker Compose
Clone Project
$ git clone https://github.com/codephilics/go-phonebook.git
$ cd go-phonebook
Create .env:
$ nano .env
Set .env values:
POSTGRES_URL=postgres://postgres:yourpassword@postgres/postgres?sslmode=disable
PORT=8080
To run the project
$ docker-compose up