Code Monkey home page Code Monkey logo

healthcare-rollcall's Introduction

Build Status

Healthcare Rollcall

In the event of a disaster, Baltimore City and the Baltimore City Health Department (BCHD) is required to verify the electrical power 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 if any provider:

  • Has power
  • Is running on backup power
  • Has no power

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.

Documentation

We've included a docs folder with a template Tech Spec and Best Practices document, though using Github's Wiki capabilities is also a good idea. This will get you started with documenting your project. Other documents and relevant information that has no other place can live in the docs folder. Replace this paragraph with a brief breakdown of what you've included in your docs folder.

Project setup

npm install

Add the following to a file named .env in your project directory:

VUE_APP_BASE_API_URL=<your API url>

Where would be http://localhost:PORT if you're running the backend locally, by default PORT is 3000.

Docker and docker-compose

To use the backend of this project in an easy way, a docker-compose file has been included for convenience. To run this you must add a few entries to your .env file.

DATABASE_URL=postgres://user:[email protected]:5432/dbname
DATABASE_USER=<your username>
DATABASE_PASSWORD=<your password>

The DATABASE_URL is not a very clear var name, and the string is broken down as postgres://username:password@host:port/database_name

An example of the DATABASE_URL would be DATABASE_URL=postgres://user:pass@db:5432/dbname

You would then run the docker-compose setup with docker-compose up -d to run the Db & API in detached mode and then npm run serve to run the frontend.

Full .env example

Here is a full example of default values for our .env file. You should be able to copy/paste this directly and it will work locally, however we STRONGLY encourage you to use custom values.

VUE_APP_BASE_API_URL=http://localhost:3000
NODE_ENV=development
DATABASE_URL=postgres://postgres:postgres@db:5432/postgres
DATABASE_USER=postgres
DATABASE_PASSWORD=postgres
JWT_KEY=abc123
BYPASS_LOGIN=true

Compiles and hot-reloads for development

npm run serve

The application will be available at http://localhost:8080/

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.

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Using this product

How would someone use this product? Give a few examples here.

Testing

What does someone need to do to test their work? Have you included a specific testing framework or guideline (hint: you should)? Any information about testing should be added here.

Sources and Links

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

We will be including multi-repo build processes with the back-end that will reference this project.

healthcare-rollcall's People

Contributors

revjtanton avatar funkybunch avatar jbixon13 avatar joffutt4 avatar mgardner1002 avatar cmavelis avatar ao10 avatar joffutt-bellese avatar greenkeeper[bot] avatar helro154 avatar wilnercharles3 avatar dependabot[bot] avatar snyk-bot avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.