Skip to content

A backend for the signup forms of my newsletters "Nanoglyph" and "Passages & Glass".

Notifications You must be signed in to change notification settings

brandur/passages-signup

Repository files navigation

passages-signup Build Status

A backend for the signup forms of my newsletters Nanoglyph and Passages & Glass. Tracks email address through the process of confirming them, then adds them to a list through Mailgun's API.

Setup

Install Go, Direnv, and Postgres.

Clone, configure, install, and run:

go get -u github.com/brandur/passages-signup

cd $GOPATH/src/github.com/brandur/passages-signup

cp .envrc.sample .envrc
createdb passages-signup
psql passages-signup < sql/schema.sql

# open `.envrc`; edit MAILGUN_API_KEY

go install && $(go env GOPATH)/bin/passages-signup

Open your browser to localhost:5001.

Testing

createdb passages-signup-test
psql passages-signup-test < sql/schema.sql

Operations

The primary host is Google Cloud Platform, and the GitHub Actions build automatically deploys master to these apps:

It's also cross-deployed to Heroku for now, but these versions of the app may not be as up-to-date:

See more instructions in the deploy/ directory.

About

A backend for the signup forms of my newsletters "Nanoglyph" and "Passages & Glass".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published