This is the source code repository for the Patient Dashboard App.
This repository is organised as a multi-module repo. Each individual component of the application is located in their own project folders.
Currently server
for the express/socket.io server and web-ui
for the webpack project that produces the web application interface.
Each project folder contains source code and build scripts to enable individual project development tasks.
Each project folder will have their own descriptors e.g. package.json
, pom.xml
etc.
Service management using containers and AWS ECS deployments
Service management using Cloud Foundry and PCF deployments
This application provides configuration files to run in docker containers. You will need docker engine and docker-compose installed to run the application locally.
Once your environment is ready. Use the following command to launch the application.
docker-compose up -d
Note that with the current configuration this will build and start two docker containers and link them together.
Check the docker-compose.yml
file to understand the service configuration for the app.
Check the Dockerfile
s in the project folders to understand the environment setup for each service.
Go into each individual process and install dependencies if at any point you'd like to run them locally in your host machine.
E.g.
cd server && npm install && cd ..
cd web-ui && npm install && cd ..
Currently the web-ui project is to set up to use webpack-dev-server instead of nginx for local development purposes. Following command will start the webpack-dev-server for the web app.
cd web-ui
npm run serve
Make sure you have the correct proxy config in your webpack.config.js to proxy api calls to express server. Please refer to the readme files for the individual project to learn more about the detailed development workflows.