MaayanLab / signature-commons-ui

A front-end UI for demoing API integration
https://amp.pharm.mssm.edu/sigcom/
Other
6 stars 3 forks source link

signature-commons-ui

A front-end UI for demoing API integration. Currently available at: http://amp.pharm.mssm.edu/sigcom/

Development

Before starting, install the project dependencies:

npm install

npm run dev

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run export:[dev|production]

Build and export the project as a series of .html files.

npm run deploy:[dev|production]

Export, build and deploy the docker image for release.

dotenv

We use dotenv / next-dotenv to organize loading of environment variables--more specific settings will override less specific ones. i.e. .env.development settings take precedent over .env. You should define your own .env.*.local which are hidden by git (see dotenv-load).

Furthermore, environment prefixes are important for NextJS.

Other variables may not propagate, so ensure you use these prefixes.

UI SCHEMAS

Modifying SigCom UI to your data is done via the entries in the schema table. SigCom uses three types of schemas.

For more information check Modifying UI and the examples folder. Also, check UI_values