Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 499 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 499 Bytes

Phonebook

A simple phonebook app using Golang and GORM.

Development: Getting Started

Requirement

  • go 1.13+
  • PostgreSQL
  • Docker
  • Docker Compose

Prepare Workspace

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