Skip to content

fastdatascience/clinical_trial_risk_v2_public

Repository files navigation

Fast Data Science logo

🌐 fastdatascience.com Fast Data Science | LinkedIn Fast Data Science | X Fast Data Science | Instagram Fast Data Science | Facebook Fast Data Science | YouTube Fast Data Science | Google Fast Data Science | Medium Fast Data Science | Mastodon

Clinical Trials

The Clinical Trial Risk Tool is a web application that allows a user to upload a PDF file of a clinical trial protocol ( a plan for how the trial will be run) and it gets bits of information out of the protocol and gets two values:

  • The cost prediction - how much in $ will it cost to run this trial?
  • The risk - how risky is this trial?

Built with

Made with Python FastAPI Docker Poetry

Run with Docker

1. Clone the repo

git clone https://github.com/fastdatascience/clinical_trial_risk_v2_public

2. Environment variables

2.1 Copy .env files

  • Copy the file /back_end/.env.example-docker to /back_end/.env
  • Copy the file /front_end/.env.example-docker to /front_end/.env

2.2 Default user for login

A new user will be created when you run the application for the first time only. The email for this user is [email protected] and the default password is tM934j@I. You can change the password at /back_end/.env, look for the env PUBLIC_DOCKER_USER_PASSWORD.

3. Containers

3.1 Build and start containers

The command below will build, (re)create, attach services to containers, and finally start all containers. The back-end will be accessible at http://127.0.0.1:5000 and the front-end will be accessible at http://127.0.0.1:5173.

docker compose up

3.2 Stop containers

The command below still stop all running containers.

docker compose stop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published