Skip to content

christopher-h-johnson/react-discovery

Repository files navigation

React Discovery

CircleCI Netlify Status codecov

@react-discovery/components

npm (scoped)

Quick Start

Create Environment

  • Configure search api host, apollo server and collection in .env file in elasticsearch-app root
  • Use the graphql-iiif apollo server
REACT_APP_SEARCH_API_HOST=http://localhost:8000/
REACT_APP_SEARCH_API_COLLECTION=nga
REACT_APP_SEARCH_APOLLO_SERVER=http://localhost:4000
Setup Test Opensearch Instance
  • start docker composition

    $ cd deployment/opensearch
    $ OPENSEARCH_INITIAL_ADMIN_PASSWORD={$password} docker-compose up
  • create test data set

    $ curl -X PUT "localhost:8000/_bulk" -H 'Content-Type: application/x-ndjson' --data-binary @test-data/nga-metadata-bulk-1.txt

Build and Start React App

$ npm install
$ npm build
$ npm start

DEMO SITE

http://discovery.chj.llc/

About

Discovery and Deep Zoom Interface for IIIF Image Collections

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages