The Waitlist Calculator is a two step process. First: the Delores_Script.py function is run to scrape and aggregate necessary data. Second: The 3MLDeloressB3.py function is run to open and utilize the calculator for Heart, Lung, Liver, and Kidney transplant waitlist positions.
Note: Technical support is not available for source files. Edit at your own risk! Scrapper functions are based on the referenced website's structures as of 2018. Changes to the website's designs may keep the script from functioning appropriately.
Delores is secured to government standards for the storing, sharing, and discussion of medical information for both users and Professionals, in a format readable on all systems, and done in a way that doesn’t compromise security or give up any proprietary information.
Note: Technical support is not available for source files. Edit at your own risk!
FrontEnd Tech Description
In the project directory, you can run:
npm startRuns the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm run testLaunches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run buildBuilds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
npm run ejectNote: this is a one-way operation. Once you eject, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
The following cli tools are required for building and deployment this React App to Firebase Hosting.
firebase-toolsMake sure firebase cli is installed and available in the PATH. Install Instructions
To confirm run in terminal;firebase --version
It should output the current installed version.
Next step is to login into firebase-cli using:firebase login
Next step is to point an API endpoint.
Make sure the .env file is having a variable named REACT_APP_API_URL which is pointing to the backend; for instance:REACT_APP_API_URL=https://delores-app.uc.r.appspot.com
Install dependencies using:npm install
Build the project using:npm run build
Deploy to Staging using:npm run deploy:staging
Deploy to Production using:npm run deploy:prod
BackEnd Tech Description
$ npm install
# local
$ npm run build
# docker
$ npm run docker-build
# development
$ nest start
# watch mode
$ npm run start:dev
# debug mode
$ npm run start:debug
# production mode
$ npm run start:prod
# App Engine starting point
$ npm start
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Make sure app.yaml file is configured properly with correct environment variables.
Make sure gcloud sdk is installed and accessible in PATH. Installation instructions Verify using:
# verify gcloud cli
$ gcloud --version
# login into gcloud
$ gcloud auth login
# deploy to App Engine
$ npm run gcp-deploy