- This repo is frontend and backend
- It requires NODE
- This app is built with: NODE.JS, REACT, POSTGRESQL
Install project dependencies in the root directory:
npm installRun project locally:
npm run dev -- --watch && node index.jsThe following files are provided for build and deployment:
.travis.yml: tells Travis CI how to build the front end and trigger a Cloud Foundry deployment;.cfignore: tells CF not to include things likenode_modules/and theREADME.md, to save sending so many files over the network when deploying; andmanifest.yml: tells CF how to run the application.
Additionally a Postgres service will need to be bound to the application on CF to provide the DATABASE_URL; see e.g. https://docs.pivotal.io/partners/crunchy/using.html for details.