command
module
Version:
v0.99.0-dev
Opens a new window with list of versions in this module.
Published: Mar 23, 2018
License: Apache-2.0
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
¶
Go + React web template

Template for:
- Go for webserver
- Typescript + React for frontend
- Package into single binary
Dev setup
Requires:
Steps:
- Clone/fork repo
- Rename (TODO)
make devsetup
How to run for development
- Terminal 1 for npm build:
make jsdev
- Terminal 2 for Go web server
make godev
- Open browser and activate live-reload
Changing Go code will be re-built by fresh and changing JS/TS will be re-built by webpack automatically.
Build
Build a single binary with assets included:
make
make package
Version is based on the git tag so git tag 1.0 before building.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.