command
module
Version:
v0.0.0-...-0616413
Opens a new window with list of versions in this module.
Published: Sep 21, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
"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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.