mini

command module
v0.0.0-...-0616413 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: MIT Imports: 6 Imported by: 0

README

Go Report Card

License MIT

"Mini" web application

A small web application used for POC and code review.

Development

make create-db  # first time only

# optional for dev, if you want email to work
export SENDGRID_API_KEY="Your-key-here" 

make dev

Then open your browser to http://localhost:4000

Prerequisites

Todo

  • How to handle configs? yaml,env,build flags,...,???
    • Eventually the app will need ~10 config vars
      • 5 for DB connection
      • 1 for send gride
      • 4 for the secure cookie inputs
      • 1 for schema://domain_name:port
  • How to handle logging?
    • logrus
    • chi mux logging middleware
  • Deploying?
    • Do we bundle templates into the binary?
    • deploy to /opt or /usr/local/{app} ?
    • separate config file in /etc ? or shove all ENV vars into .service

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