greenlight

module
v0.0.0-...-c937191 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2021 License: Apache-2.0

README

Greenlight

An example project for learning golang

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

GREENLIGHT_DB_DSN="postgres://postgres:postgres@localhost/greenlight?sslmode=disable"

BASE_URL=http://localhost:4000/v1

SMTP_HOST=smtp.mailtrap.io

SMTP_PORT=2525

SMTP_USERNAME=<username>

SMTP_PASSWORD=<password>

SMTP_SENDER="Greenlight <no-reply@greenlight.com>"

Directories

Path Synopsis
cmd
api
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL