Giter Site home page Giter Site logo

opentrials

Gitter Travis Build Status Coveralls Dependency Status Issues Docs

OpenTrials is an app to explore, discover, and submit information on clinical trials.

Developer notes

Requirements

Installing

  1. Copy the .env.example file to .env and alter its contents as needed. At minimum, you should set the OPENTRIALS_API_URL and DATABASE_URL. The TEST_DATABASE_URL is needed to run the tests. You could leave the GOOGLE_* and FACEBOOK_* variables as is, although you won't be able to log in. If you leave AWS_* and S3_*, you won't be able to upload data;
  2. Run npm install;
  3. Run npm run migrate;

After the install and migrations ran successfully, you can run npm run dev to run the project. If you haven't changed the default PORT, it should be available at http://localhost:5000

Testing

You can run the test suite and linting with npm test.

We also have an end to end smoke test suite. To run it, make sure the OpenTrials server is running and do:

OPENTRIALS_URL=http://localhost:5000 npm run e2e

Remember to change the OPENTRIALS_URL to where is the OpenTrials URL.

Notes

Built static files are checked into the git repository for now to simplify Docker workflow.

OpenTrials's Projects

api icon api

The OpenTrials API service + database schema definition.

collectors icon collectors

The OpenTrials data collectors + warehouse schema definition.

conditions icon conditions

A Data Package which is a database of public and private sources of information on health conditions related to clinical trials.

docs icon docs

The OpenTrials documentation.

interventions icon interventions

A Data Package which is a database of public and private sources of information on interventions related to clinical trials.

opentrials icon opentrials

OpenTrials is an app to explore, discover, and submit information on clinical trials.

opentrials-early-poc icon opentrials-early-poc

A very early POC app for OpenTrials, just using a single source of data on schizophrenia.

registers icon registers

A Data Package which is a database of public and private registers of clinical trials.

schizophrenia icon schizophrenia

An OpenTrials app to explore clinical trial data on Schizophrenia.

style-guide icon style-guide

The style guide for design and UX of OpenTrials apps.

tracker-ebola icon tracker-ebola

An app that tracks and visualises data on Ebola clinical trials.

trial-finder icon trial-finder

An OpenTrials app for patients and health carers to discover location-specific information on clinical trials, past, present and planned.

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.