todomvc

command
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

README

TodoMVC with Event Horizon

This is a full example of using Event Horizon, including a frontend in Elm. The Elm frontend is based on the official Elm port of TodoMVC: https://github.com/evancz/elm-todomvc.

Usage

Run the Elm frontend in the reactor:

cd ui && elm-reactor

Or compile the Elm frontend:

cd ui && elm-make Main.elm --output elm.js

Run MongoDB in Docker:

docker run -d --name mongo -p 27017:27017 mongo:latest

Run the Event Horizon backend, which also serves the frontend:

go run main.go handler.go

Visit http://localhost:8080

To run the tests:

go test ./...

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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