{"id":41147041,"url":"https://github.com/oncokb/matchminer-curate","last_synced_at":"2026-01-22T18:57:48.409Z","repository":{"id":27289219,"uuid":"113219370","full_name":"oncokb/matchminer-curate","owner":"oncokb","description":"MatchMiner Curation User Interface","archived":false,"fork":false,"pushed_at":"2023-04-19T15:24:36.000Z","size":5102,"stargazers_count":9,"open_issues_count":14,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-11T03:15:52.155Z","etag":null,"topics":["angular5","clinical-trials","firebase","yarn"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oncokb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-05T18:39:39.000Z","updated_at":"2022-07-26T16:09:46.000Z","dependencies_parsed_at":"2023-02-17T14:00:35.041Z","dependency_job_id":null,"html_url":"https://github.com/oncokb/matchminer-curate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oncokb/matchminer-curate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncokb%2Fmatchminer-curate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncokb%2Fmatchminer-curate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncokb%2Fmatchminer-curate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncokb%2Fmatchminer-curate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oncokb","download_url":"https://codeload.github.com/oncokb/matchminer-curate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncokb%2Fmatchminer-curate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28668745,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular5","clinical-trials","firebase","yarn"],"created_at":"2026-01-22T18:57:47.501Z","updated_at":"2026-01-22T18:57:48.398Z","avatar_url":"https://github.com/oncokb.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MatchMinerCurate\nMatchMinerCurate is a realtime trial curation platform by using [Clinical Trial Markup Language] (CTML) to label \npatient-specific genomic and clinical data, and structured eligibility criteria for clinical trials. We use Firebase \nrealtime database to store all trials.\n\n## Preparation\n### Install Project\nIt is necessary to install and configure the following dependencies:\n\n1. [Node.js][]: We use Node to run a development web server and build the project.\n   Depending on your system, you can install Node either from source or as a pre-packaged bundle.\n2. [Yarn][]: We use Yarn to manage Node dependencies.\n   Depending on your system, you can install Yarn either from source or as a pre-packaged bundle.\n\nAfter installing Node, you should be able to run the following command to install development tools.\nYou will only need to run this command when dependencies change in [package.json](package.json).\n\n    yarn install\n\n### Prepare Firebase Realtime Database\n1. Go to [Firebase Console] and login with your Google account.\n2. Create a new project by clicking \"Add Project\".\n3. Choose sign-in method and add domain. Click \"Authentication\" under \"Develop\" section on the left panel and choose \n`Sign-in method` tab, enable Google as default login method. Of course, you are welcome to try other sign-in providers. \nNext, add your domain name in `Authorized domains` like \"localhost\". \n\nNote: **Please store all trials in a list named `Trials`.**\n\n### Prepare configuration files\n1. Prepare files for front-end. \n    ```\n    cp src/main/webapp/app/environments/environment.example.ts src/main/webapp/app/environments/environment.ts\n    ```\n2. Go to `Authentication` page in Firebase console, click `Web setup` button and Firebase config will pop up. Copy \nrequired fields to `environments.ts`.\n    ```\n    apiKey: \"[API-KEY]\",\n    authDomain: \"[PROJECT-ID].firebaseapp.com\",\n    databaseURL: \"https://[PROJECT-ID].firebaseio.com\",\n    projectId: \"[PROJECT-ID]\",\n    storageBucket: \"[PROJECT-ID].appspot.com\",\n    messagingSenderId: \"[SENDER-ID]\",\n    ```\n    \nFor more information about setting up firebase - [Firebase Documentation](https://firebase.google.com/docs/web/setup)\n    \n### Run Project\nWe use yarn scripts and [Webpack][] as our build system.\n\n\nRun the following command in a terminal to create a blissful development experience where your browser\nauto-refreshes when files change on your hard drive.\n\n    yarn start\n\n[Yarn][] is also used to manage CSS and JavaScript dependencies used in this application. You can upgrade dependencies by\nspecifying a newer version in [package.json](package.json). You can also run `yarn update` and `yarn install` to manage dependencies.\nAdd the `help` flag on any command to see how you can use it. For example, `yarn help update`.\n\nThe `yarn run` command will list all of the scripts available to run for this project.\n\n## Building for production\n\nTo optimize the matchminerCurate application for production, run:\n\n    ./mvnw -Pprod clean package\n\nThis will concatenate and minify the client CSS and JavaScript files. It will also modify `index.html` so it references these new files.\nTo ensure everything worked, run:\n\n    java -jar target/*.war\n\nThen navigate to [http://localhost:8090](http://localhost:8090) in your browser.\n\nRefer to [Using JHipster in production][] for more details.\n\n## Database Features   \n### Assign Permission\nYou can decide who has read and write access to your database by setting [Firebase Realtime Database Rules].\n\nThere is an example below to show how to assign permission for users in the `WhiteList` to read and write data in \n`Trials` list.\n    \n    {\n      \"rules\": {\n        \"Trials\": {\n          \".read\": \"root.child('WhiteList').val().contains(auth.email)\",\n          \".write\": \"root.child('WhiteList').val().contains(auth.email)\"\n        }, \n        \"WhiteList\": {\n          \".read\": false,\n          \".write\": false\n        }  \n      }\n    }\n        \n### Auto-backup\nFirebase provides service to [auto-backup] database everyday. You can turn on auto-backup by clicking `Backup` tab on \n\"Database\" page. \n\nYou may pay for auto-backup. Firebase will charge money for backup files placed in Google Cloud Storage bucket. For \nrealtime database, you will be charged once data storage is over 1 GB.\n\nYou can enable `storage 30 day lifecycle`, which means files in your bucket will be automatically \ndeleted after 30 days. This helps to reduce unwanted old backups, saving you on storage costs, and keeping your bucket directory clean.\n\nFor detailed price information, please take a look at [Pricing Plans].\n\n## Development\n### Managing dependencies\n\nFor example, to add [Leaflet][] library as a runtime dependency of your application, you would run following command:\n\n    yarn add --exact leaflet\n\nTo benefit from TypeScript type definitions from [DefinitelyTyped][] repository in development, you would run following command:\n\n    yarn add --dev --exact @types/leaflet\n\nThen you would import the JS and CSS files specified in library's installation instructions so that [Webpack][] knows about them:\nEdit [src/main/webapp/app/vendor.ts](src/main/webapp/app/vendor.ts) file:\n~~~\nimport 'leaflet/dist/leaflet.js';\n~~~\n\nEdit [src/main/webapp/content/css/vendor.css](src/main/webapp/content/css/vendor.css) file:\n~~~\n@import '~leaflet/dist/leaflet.css';\n~~~\nNote: there are still few other things remaining to do for Leaflet that we won't detail here.\n\nFor further instructions on how to develop with JHipster, have a look at [Using JHipster in development][].\n\n### Using angular-cli\n\nYou can also use [Angular CLI][] to generate some custom client code.\n\nFor example, the following command:\n\n    ng generate component my-component\n\nwill generate few files:\n\n    create src/main/webapp/app/my-component/my-component.component.html\n    create src/main/webapp/app/my-component/my-component.component.ts\n    update src/main/webapp/app/app.module.ts\n\n### Doing API-First development using swagger-codegen\n\n[Swagger-Codegen]() is configured for this application. You can generate API code from the `src/main/resources/swagger/api.yml` definition file by running:\n```bash\n./mvnw generate-sources\n```\nThen implements the generated interfaces with `@RestController` classes.\n\nTo edit the `api.yml` definition file, you can use a tool such as [Swagger-Editor](). Start a local instance of the swagger-editor using docker by running: `docker-compose -f src/main/docker/swagger-editor.yml up -d`. The editor will then be reachable at [http://localhost:7742](http://localhost:7742).\n\nRefer to [Doing API-First development][] for more details.\n\n## Testing\n\nTo launch your application's tests, run:\n\n    ./mvnw clean test\n\n### Client tests\n\nUnit tests are run by [Karma][] and written with [Jasmine][]. They're located in [src/test/javascript/](src/test/javascript/) and can be run with:\n\n    yarn test\n\n\n\nFor more information, refer to the [Running tests page][].\n\n## Using Docker to simplify development (optional)\n\nYou can use Docker to improve your JHipster development experience. A number of docker-compose configuration are available in the [src/main/docker](src/main/docker) folder to launch required third party services.\n\nFor example, to start a mongodb database in a docker container, run:\n\n    docker-compose -f src/main/docker/mongodb.yml up -d\n\nTo stop it and remove the container, run:\n\n    docker-compose -f src/main/docker/mongodb.yml down\n\nYou can also fully dockerize your application and all the services that it depends on.\nTo achieve this, first build a docker image of your app by running:\n\n    ./mvnw verify -Pprod dockerfile:build\n\nThen run:\n\n    docker-compose -f src/main/docker/app.yml up -d\n\nFor more information refer to [Using Docker and Docker-Compose][], this page also contains information on the docker-compose sub-generator (`jhipster docker-compose`), which is able to generate docker configurations for one or several JHipster applications.\n\n## Continuous Integration (optional)\n\nTo configure CI for your project, run the ci-cd sub-generator (`jhipster ci-cd`), this will let you generate configuration files for a number of Continuous Integration systems. Consult the [Setting up Continuous Integration][] page for more information.\n\n[Clinical Trial Markup Language]: https://matchminer.org\n[Firebase Console]: https://console.firebase.google.com\n[Firebase Realtime Database Rules]: https://firebase.google.com/docs/database/security\n[auto-backup]: https://firebase.google.com/docs/database/backups\n[Pricing Plans]:https://firebase.google.com/pricing\n\n[JHipster Homepage and latest documentation]: http://www.jhipster.tech\n[JHipster 4.14.5 archive]: http://www.jhipster.tech/documentation-archive/v4.14.5\n\n[Using JHipster in development]: http://www.jhipster.tech/documentation-archive/v4.14.5/development/\n[Using Docker and Docker-Compose]: http://www.jhipster.tech/documentation-archive/v4.14.5/docker-compose\n[Using JHipster in production]: http://www.jhipster.tech/documentation-archive/v4.14.5/production/\n[Running tests page]: http://www.jhipster.tech/documentation-archive/v4.14.5/running-tests/\n[Setting up Continuous Integration]: http://www.jhipster.tech/documentation-archive/v4.14.5/setting-up-ci/\n\n\n[Node.js]: https://nodejs.org/\n[Yarn]: https://yarnpkg.org/\n[Webpack]: https://webpack.github.io/\n[Angular CLI]: https://cli.angular.io/\n[BrowserSync]: http://www.browsersync.io/\n[Karma]: http://karma-runner.github.io/\n[Jasmine]: http://jasmine.github.io/2.0/introduction.html\n[Protractor]: https://angular.github.io/protractor/\n[Leaflet]: http://leafletjs.com/\n[DefinitelyTyped]: http://definitelytyped.org/\n[Swagger-Codegen]: https://github.com/swagger-api/swagger-codegen\n[Swagger-Editor]: http://editor.swagger.io\n[Doing API-First development]: http://www.jhipster.tech/documentation-archive/v4.14.5/doing-api-first-development/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foncokb%2Fmatchminer-curate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foncokb%2Fmatchminer-curate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foncokb%2Fmatchminer-curate/lists"}