Skip to content

foundation29org/Dx29_server

Repository files navigation

Dx29 server

Build Status [Deployment status MIT license

1. Overview

Dx29 is a platform built to assist medical professionals during the diagnosis process to make it quicker and more accurate when dealing with rare diseases.

No tool can replace the knowledge of a clinician or physician, so we have designed Dx29 to help those professionals tap into the global community of medical knowledge to facilitate decision-making and diagnoses that might otherwise remain a mystery. Based on the symptoms drawn from a patient’s medical history, and suggesting new symptoms to look for. Dx29 offers medical teams possible pathologies from a wide range of rare diseases that many doctors may not have first-hand experience with.

Dx29 extends this idea further by offering medical teams feedback from their patients as new symptoms arise and leveraging available genetic information to surface additional pathologies that may not appear through standards tests. By combining the fundamental basics of good health care with cutting-edge medical technology, Dx29 gives medical professionals the chance to offer their patients a level of care that might not otherwise be possible.

You can consult the documentation on the architecture of the dx29 project.

This project contains the core of the dx29 platform, the webapp. In particular in this repository is the server code of the project.This project contains the methods to access the different services that the Dx29 client will need.

The project uses gitflow workflow. According to this it has implemented a branch-based system to work with three different environments. Thus, there are two permanent branches in the project:

  • The develop branch to work on the development environment.
  • The master branch to work on the production environment

And for the test environment, release branches will be created.

 

2. Configuration: Pre-requisites

This project uses external services.

As a minimun, for local develop it is mandatory to configure the file config.js.sample. So, to be able to compile and execute this project you have to modify the extension of the config.js.sample file, removing ".sample" (you have to modify config.js.sample by config.js) and here complete the information of the secret keys of the services.

If you want to deploy on production environment you must configure in the Azure App Service in Configuration/Aplication settings the variables defined in config.js file.

External services required

To execute the project it is necessary to implement or configure a list of external services according to what is explained in the dx29 architecture document.

Thus, we will mainly need:

 

3. Download and installation

Download the repository code with git clone or use download button. Run npm install to install the dependencies. The project requires a current, active LTS, or maintenance LTS version of Node.js. In particular, we are using v12.13.0.

 

4. Deployment

Run npm run serve and the server will be deployed on http://localhost:<port>/ (port is configured in config.js file).

 

5. Other project links needed for deploy dx29 platform

You can consult the documentation on the architecture of the dx29 project.

 

 

Copyright © 2020 Foundation29