butler-lewis

command module
v0.0.0-...-657d224 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 7 Imported by: 0

README

CircleCI Go Report Card Man Hours

Overview

butler-lewis is a small REST API for interacting with Trello boards. There are two endpoints which are documented below. butler-lewis also serves as a personal playground for trying out new server, build, and deployment technologies.

Setup

You need to set some environment variables:

PORT
TRELLO_KEY
TRELLO_TOKEN
BUTLER_LEWIS_SECRET

Running

Locally/Manually

docker build -t butler-lewis .
docker run -d -p 9999:9999 -e BUTLER_LEWIS_SECRET="blah" -e TRELLO_KEY="12345" -e TRELLO_TOKEN="67890" -e PORT="9999" --restart=always --name butler-lewis butler-lewis

Heroku

Setup
heroku create
heroku stack:set container
Deploy
git push heroku master

Usage

HTTP PUT
localhost:9999/v1/butler-lewis?name=Test test&secret=blah

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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