Template repo for a backend app. Do a global find-and-replace on hyper-template
, filling in your app's name. Change the Author info to yourself in these three files:
- LICENSE
- Cargo.toml
- Package.json
TODO - a separate template that's this plus a blog option, using the build script. TODO - tests, unit and E2E
dev
: start dev server on port 3000, watching for source changesprod
: build and start production Docker container on port 8080 - must stop container via dockerrun
: run local imagelint
: run linterstest
: run teststest:watch
: run tests, watching for changes
Options set in src/config.toml
override these defaults, but options passed at the command line override config.toml
.
- askama - Templates
- hyper - HTTP
- lazy_static - Runtime-evaluated statics
- log - Logging macros
- pretty_env_logger - Pretty log output
- structopt - CLI