/shid

Open source ready-to-use fast hospital deployment tool

Primary LanguageHTML

Open source ready-to-use hospital infrastructure deployment tool

Docker Python Flask JavaScript TailwindCSS MongoDB

Archived

This project is now discontinued and has been archived. We thoroughly think that we didn't hit the potential and limits of this project and it may be recreated in the future by using different languages.

Introduction

Early in 2020, the Ministry of Armed Forces of France announced their call for new projects to fight against the pandemic and were looking for new and innovative solutions to help civil servants, mostly in hospitals and similar sensitive places by using some recent technologies.

While the applications are currently officially closed, our university requested to their students to make and create their own solutions and submissions. Local authorities will be contacted for the most interesting, serious and innovating projects selected by our university.

Short description

To respond to this call, us, a group of 4 students decided to create a small service (likely a prototype) which will be easily manageable and deployable (with Docker) to quickly deploy an infrastructure (server) for health/medical services with an intranet (website), database and API, without needing any special knowledge on development.

Key features

  • Ready-to-go. Using Docker to deploy and configure all dependencies automatically
  • User friendly startup. You can easily configure your infrastructure directly from the UI
  • Using real frameworks. Frontend made with WindiCSS, powered by TailwindCSS's amazing features
  • Real time stats. Select and display important/key values to be live-fetched with an API
  • Patients management. Add, create/edit/delete patients information with multiple privacy/permissions checks
  • Organization. Permissions presets, configurable permissions, manage multiple departments with an administration panel

Installation

  1. Clone this repository. git clone https://github.com/eri/shid.git
  2. Install Docker Compose.
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

If this command fails, you would try alternative methods which are referenced here.

  1. Check if docker-compose is installed properly. docker-compose --version
  2. Create new images and containers by using the config from the /Dockerfiles directory. sudo docker-compose up -d

If your Flask container is stopped after the end of this step and/or have a No such files or directory error:

  • Consider renaming your app folder as .app
  • Delete your containers and images
  • Run the sudo docker-compose up -d command again.
  1. The website should be now accessible from your_ip:5000 (ex: 55.12.455.52:5000) and MongoDB must be available at the port 27277. Consider updating the ports from the docker-compose.yml file to keep things secure.

Planned

  • Work routine tool. See and manage your recent activities, personal notes and daily/weekly/monthly planning
  • Real-time messaging. Messaging between workers and other health departments, to stay connected without using third party platforms

Dependencies & Tools

Collaborators