A service that provides static file access and configures endpoints for serving JSON
You need to have node on your machine and checkout the service code
Check to see you have node:
- Open a terminal and type:
$ node
If you don't have node install it from the repo.
We use the express library for serving resources. Your dependencies should be prepackaged for you but you can also install express by following instruction on the express site
We use the handlebars template but you can also serve plain old HTML files from the public directory by placing them in the appropriate location.
$ docker run -it -p 3000:3000 -v /home/docker/oasis/db:/usr/src/app/db --name oasis gcr.io/goodwatercap-1/oasis:latest
``
The app will be running on port 3000.`