The DANDI Archive web client.
git clone https://github.com/dandi/dandiarchive
cd dandiarchive
yarn install
yarn run serve
The web app will be served at http://localhost:8085/
.
This app requires a server component to be useful, which you can run locally; see the instructions) for doing so.
In order to fix the code formatting and check for some common errors, run:
yarn run lint
The web app uses TypeScript typings (src/types/schema.ts) automatically generated from the dandiset metadata JSON Schema (see https://github.com/dandi/schema). To change the schema version used (and as a result, the types), use the yarn migrate
command.
For example, to migrate to schema version 0.5.1, run:
yarn migrate 0.5.1