Skip to content

ashvwinn/greenlight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Greenlight

Greenlight is a JSON API for retrieving and managing information about movies built with Go.

Installation

  1. Clone the repository:
git clone https://github.com/ashvwinn/greenlight.git
cd greenlight
  1. Set environment variables (look at .env.example for reference)

  2. Setup database with Docker Compose:

docker compose up -d
  1. Run database migrations with the migrate tool:
migrate -path=./migrations -database=$GREENLIGHT_DB_DSN up
  1. Start the application: With go or with air
air
# or
go run ./cmd/api
# or
go build -o bin/main ./cmd/api
./bin/main

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors