A React webapp using websockets, jsx, ES6 and Redux communicating with a Node webserver using mongodb.
- node & npm
- docker & docker-compose
- google API key
- Follow the steps in
backend/readme.md
andfrontend/readme.md
to get the app running locally first. - Create a mongodb server somewhere (MongoDB Atlas, mLabs, ...).
- Grab the mongodb url and set it as the
DATABASE
propertybackend/src/config/settings.js
. - Run
now
insidebackend
or deploy backend to wherever. (you can set environment variables with the-e
option) - Run
now alias <id> <name>
so it's deployed under the right name. - Set the
BASE
variable to this value infrontend/src/config/config.js
if it isn't already. - Build the frontend and deploy the
dist
-folder somewhere.