A backend for the ToDo app written using PHP.
ToDos can be stored in Mongo DB.
CloudFoundry Command Line installed.
Login to CF bash cf login -a yourendpoint`` Push to CF
bash cf push todo --no-startCreate MongoDB service
bash cf create-service mongolab sandbox todo-mongo-dbdepends onyour mongodb conf. Bind MongoDB service
bash cf bind-service ge-todo todo-mongo-dbStart Application
bash cf start todo```
This app currently uses the PHP buildpack from CloudFoundry.
By default it is run unsing an Apache server however you can also use NGINX. To do this open the options.json file in the .bp-config directory and change the WEB_SERVER property from httpd to nginx.
Gwenn Etourneau Pivotal 2015