a sample of movie data using goLang
- Install dep
- Run
dep ensure
in project root directory to install all dependencies - create
.env
folder to set environment
.env
HOST="localhost"
PORT=5432
USER="postgres"
PASSWORD="******"
DBNAME="postgres"
SECRET="movie-tutorial-api"
- Start server
go run main.go