Skip to content
This repository has been archived by the owner on Jun 19, 2020. It is now read-only.

[WIP] A specificaton and set of web service calls to return information about CCF-mapped data

License

Notifications You must be signed in to change notification settings

hubmapconsortium-graveyard/ccf-data-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💥 Deprecated and archived 💥

CCF Data API and Specification

GitHub last commit license View Documentation

A specificaton and set of web service calls to return information about CCF-mapped data

Specification

The original specification this API is based off of is available on Google Docs

Documentation

Auto-generated API Documentation is available on SmartAPI.

Development Requirements

  • NodeJS v8.11+
  • Docker

Initializing the development environment

After installing the prerequisites, simply run: npm ci or npm install to install all dependencies. Most of the necessary commands are embedded in the package.json file in the scripts section.

Some useful commands

Bundling the schema

npm run build

Validating the schema

npm run validate

Starting a mock server

npm start (or npm run start:mock)

This will create a mock OpenAPI server on port 8080 (Try http://localhost:8080/donors) and a GraphQL endpoint on port 8081 (Try http://localhost:8081/graphql).

Starting a mock server with Docker

docker-compose -f docker/docker-compose.mock-server.yml up or (npm run start:docker-mock)

This will create a mock OpenAPI server on port 8080 (Try http://localhost:8080/donors) and a GraphQL endpoint on port 8081 (Try http://localhost:8081/graphql).

About

[WIP] A specificaton and set of web service calls to return information about CCF-mapped data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages