In the event of a disaster, Baltimore City and the Baltimore City Health Department (BCHD) needs to be able to verify the status of all healthcare providers in the city.
This system will provide methods for healthcare providers to check-in during disasters, and update their information during non-emergency periods. During an emergency this system will track providers responses to a questionnaire. This questionnaire can be specific to a single disaster, or can be more general. Examples:
- Widespread power blackout
- Epidemic or Pandemic response (COVID-19)
- Natural disaster
This system will make use of digital services and modern methodologies to automate parts of the check-in process to help the city prioritize its call list and response plan. Additionally, the system will validate contact information regularly during non-emergency times to ensure the city has the most up-to-date information for each provider.
More documentation can be found in the Docs folder.
The quickest way to get started is using the included docker-compose
to build a complete local stack (web, api, and database) of the project.
Add the following to a file named .env
in your project directory:
PORT=3000
VUE_APP_BASE_API_URL=http://localhost:3001
VUE_APP_API_VERSION=1
DATABASE_PASSWORD= # Custom value
JWT_KEY= # Custom value
PORT
: The port the web service will be exposed on the host machine. Default:3000
VUE_APP_BASE_API_URL
: The URL to the api service, includes hostname and port. Default:http://localhost:3001
.DATABASE_PASSWORD
: The password used to authenticate to the postgres database. For security, use a custom value.JWT_KEY
: A secret value to generate JSON Web Tokens (JWTs) locally. For security, use a custom value.
You would then run the docker-compose setup with docker-compose up -d --build
to run the DB & API, build the front end and stand up all containers. Once this command completes, wait 5-30 seconds for the db scripts to finish and you'll be able to access your own Healthcare Rollcall app at https://localhost:3000
.
By default the backend solution will pull the master
branch of Bmore-Responsive. If you wish to keep this up to date you should run:
docker-compose build
You can also specify a tagged release by setting the API_TAG
value in your .env
file:
API_TAG=1.3.2
For more information on valid API_TAG
values, see: docker build - Git repositories
Using docker-compose
will mount your local ./src
directory into the application, which allows you to continue to make changes and view them within the application.
The application will be available at http://localhost:3000/.
User Credentials: To find example user credentials, look to the user.json file in the Bmore-Responsive repository.
Note: Depending on the OS you are running Docker
on your localhost may be mapped to a different IP address. The standard IP address Docker
is mapped to on Windows is 192.168.99.100
so you would access the application at 192.168.99.100:8080
.
npm run build
npm run lint
How would someone use this product? Give a few examples here.
`npm test`
`yarn test`
`npm install snyk -g`
`snyk test`
We are also building a back-end API to feed and manage data for this project. To view that project, or to contribute to it, please visit the repo here: https://github.com/CodeForBaltimore/Bmore-Responsive
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!