pulumi/examples/demo1
joeduffy d55acad652 Add a workspace file to our demo
This just sets the default cloud provider to AWS.
2016-11-22 09:50:53 -08:00
..
.mu Add a workspace file to our demo 2016-11-22 09:50:53 -08:00
build1 Demonstrate hypothetical mu/app type in the demo 2016-11-22 08:58:06 -08:00
build2 Fix a lambda typo in the demo code 2016-11-07 17:03:32 -08:00
.gitignore Add the "demo1" example app 2016-11-04 12:17:46 -07:00
app.js Add two variants to the Mu demo 2016-11-07 09:37:47 -08:00
Dockerfile Add the "demo1" example app 2016-11-04 12:17:46 -07:00
Mu.yaml Explicitly declare the demo's dependencies 2016-11-18 16:52:51 -08:00
package.json Add the "demo1" example app 2016-11-04 12:17:46 -07:00
README.md Add a reminder to figure out Security metadata in Mufiles 2016-11-04 15:43:03 -07:00
script.txt Update the demo script to reference the DSL 2016-11-16 18:06:46 -08:00

examples/demo1

A simple Express voting app with a MongoDB backend, ready for production use.

It supports two web APIs:

  1. GET /, prints out the current vote counts.
  2. POST /vote, casts your vote for a particular candidate.

TODO(joe): it would be sooooo much better if we could demonstrate proper sharding and security for MongoDB.