Skip to content
hubmapconsortiumPublic

About

HuBMAP Data Ingest Portal

Topics

Resources

Stars

5 stars

Watchers

12 watching

Forks

Repository files navigation

HuBMAP Data Ingest Portal

The HuBMAP Data Ingest Portal UI is a web application built with React on Nodejs v14 (includes npm). It interacts with the backend APIs (ingest-api, entity-api, and search-api) to register Donor/Sample/Dataset/Upload and makes them searchable (via search-api).

Configuration and local development

Create .env file base on example.env file in the same src directory.

npm install
npm start

Running the following command will create an optimized static build of your app in the build folder:

npm run build

Testing

To run the suites of unit (via Vite) and javascript E2E tests (Cypress).

npm test:all

Docker build for DEV/TEST/PROD development

There are a few configurable environment variables to keep in mind:

  • HOST_UID: the user id on the host machine to be mapped to the container. Default to 1000 if not set or null.
  • HOST_GID: the user's group id on the host machine to be mapped to the container. Default to 1000 if not set or null.
cd docker
./docker-development.sh [check|config|build|start|stop|down]

About

HuBMAP Data Ingest Portal

Topics

Resources

Stars

5 stars

Watchers

12 watching

Forks

Releases

Packages

Used by

Contributors

Languages