intermine/intermine-registry

Name: intermine-registry

Owner: InterMine

Description: Registry to store and browse all known instances of InterMine. Entirely developed during Google Summer of Code 2017 by Leonardo Kuffo

Created: 2017-05-08 15:25:38.0

Updated: 2017-08-23 09:16:53.0

Pushed: 2017-11-29 12:34:36.0

Homepage: http://registry.intermine.org

Size: 12267

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits
Daniela Butano2018-02-08 15:56:44.040
Yo Yehudi2017-11-29 12:20:17.01
Aman Dwivedi2018-02-06 09:32:40.02
Leonardo Xavier Kuffo Rivero2017-08-29 12:26:04.0163

Other Committers

UserEmailMost Recent Commit# Commits

README

InterMine Registry

InterMine Registry is a place where all the up-to-date instances information is stored and can be consumed by applications like Blue Genes, iOS, InterMine R, the friendly mine tool or available to everyone who needs it. The core of InterMine Registry is its RESTful API. Running over Node.js integrated with MongoDB, it contains methods (endpoints) to administer the instances on the registry (add, update & delete) and search among them. Furthermore, InterMine Registry also includes a nice fully responsive front-end web application, from which everyone can see all the InterMine instances and search among them.

GSoC 2017

InterMine registry was entirely implemented and developed as a GSoC 2017 program project by the student Leonardo Kuffo. Click here to find all of Leonardo's contributions for the project as evidence of his work.

Registry API

The core of the InterMine Registry App is the restFUL API. It contains endpoints to search and administer instances. These endpoints can be reached through the following base path: http://intermine.org/registry/service/

You can check the detailed API documentation for more information and testing.

Installation
  1. Install Node.js on your host.

  2. Install MongoDB on your host.

  3. Clone this repository on your host:

    clone https://github.com/intermine/intermine-registry.git
    
  4. From your terminal or CMD access to the registryapp directory an execute the following command:

    install
    
  5. To run the application, being on the same directory:

    start
    

In addition of running the application, this will also configure the MongoDB environment (database, collection & indexes). If you wish to populate the registry you may do (on another CMD or terminal) node initRegistry.js, which will initialize all the registry instances with basic information.

Configure the API Docs

The API-DOCS are generated based on the swagger.json file in the repository. In order for the API-DOCS to work correctly, on this file you have to specify the “HOST” and the “SCHEME” of the app (http or https).

Detailed Documentation

For more in-deep information about the code, and detailed guidelines on the project, please, visit the following link.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.