This just adds a simple voting app for the demo script. It leverages a Node.js Express app for the frontend and a MongoDB database for the backend. It conditionally provisions and attaches to an AWS Elastic Block Store volume in the event that it's targeting an AWS cluster, and ephemeral storage otherwise.
11 lines
268 B
JSON
11 lines
268 B
JSON
{
|
|
"name": "demo1",
|
|
"version": "0.0.1",
|
|
"description": "A simple Express voting app with a MongoDB backend, ready for production use.",
|
|
"main": "app.js",
|
|
"dependencies": {
|
|
"body-parser": "^1.15.2",
|
|
"express": "^4.14.0",
|
|
"mongodb": "^2.2.11"
|
|
}
|
|
}
|