CHSA WEB application is designed to accept latitude/longitude coordinates and provide the associated community health service area
-
Docker Compose
-
MySQL workbench to query the database MySQL workbench
In the project directory ./wfs-app, run:
-
Downloads mysql:latest and node:10 images
-
Builds wfs-ui and wfs-api artifacts
-
Creates a MySQL database instance and creates database objects by running wfs-app/Analytics.sql
-
Deployes artifacts in containers
-
After installation, MySQL database will be available for connections and it can be found in docker compose logs
-
Application can be accessed at http://localhost:3080
-
Use MySQL workbench to login and query the database. The credentials are provided in the .env file under wfs-api
-
The number of API hits is stored in analytics database and auditlog table. Below are the queries
USE analytics;
SELECT COUNT(id) as API_HITS FROM AUDITLOG;
- Removes database and application containers
This will remove:
-
All stopped containers
-
All networks not used by at least one container
-
All images without at least one container associated to them
-
All build cache
- This will remove all local volumes not used by atleast one container
This project is licensed under the Apache License, Version 2.0.