pulumi/examples/demo1
2016-11-04 15:43:03 -07:00
..
.gitignore Add the "demo1" example app 2016-11-04 12:17:46 -07:00
app.js Add the "demo1" example app 2016-11-04 12:17:46 -07:00
Dockerfile Add the "demo1" example app 2016-11-04 12:17:46 -07:00
Mu.yaml Add the "demo1" example app 2016-11-04 12:17:46 -07: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

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.