/greenlight

Let's Go Further code

Primary LanguageGo

Welcome to GreenLight 👋

Let's Go Further book code

Install

# Install the migrate CLI tool.
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.15.1/migrate.linux-amd64.tar.gz | tar xvz
mv migrate.linux-amd64 /usr/local/bin/migrate

# Copy and fill .env file
cp .env.example .env

# Run migrations
make db/migrations/up

# Validate and install vendor libraries
make vendor
make audit

Usage

make run/api

Build

make build/api