go-blockchain

command module
v0.0.0-...-792dd6a Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 11 Imported by: 0

README

blood-sugar-blockchain

A blockchain where the blocks hold data on blood sugar levels measured in mg/dL

Development

Environment variables

Environment variables are handled using GoDotEnv.

Copy .env.sample to .env and replace the values with your own if needed.

Variables
  • PORT: the port the webserver will run on
  • BASIC_AUTH_USERNAME: the username for basic auth
  • BASIC_AUTH_PASSWORD: the password for basic auth
Running locally

Start the webserver with:

go run .

Then visit http://localhost:8080 or the port specified in .env.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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