Giter Club home page Giter Club logo

metadb-ui's Introduction

metaDB logo

Build Status Coverage Status

metadb-ui is a React/Redux front-end to LafayettePreserve, a Sufia implementation for Lafayette College Libraries. It is currently in active development and very much a work in progress.

getting started

git clone https://github.com/LafayetteCollegeLibraries/metadb-ui
cd metadb-ui
npm install

metadb-ui currently requires a Sufia instance that returns JSON instead of rendering views. We've written a mock-server for testing that can be used as a back-end in a pinch. It's included in the devDependencies but can be installed with:

npm install lafayette-preserve-mock

To run metadb-ui with this mock-server, in one terminal window:

npm run mock-server

And in another:

API_BASE_URL=http://localhost:3000 npm run dev

after Webpack finishes booting, you'll be able to visit the site at http://localhost:8080. (note: the mock-server will not actually update search results with facets/queries, it's not that smart!)

Note: the mock-server is also a work-in-progress, and several Important Features are still missing, namely: OpenSeadragon tiles for the work-editing interface, individual thumbnails for works in Search Results, and all things related to Vocabulary Management. As its primary focus is for end-to-end testing, the visual aspects will probably not be coming. However vocabularies are on their way.

running tests

npm run test

will run tests for components, actionCreators, and reducers (as well as some helpers throughout)

npm run test:e2e

will run end-to-end tests using Nightwatch.js and the aforementioned mock server.

license

GPL-3.0

metadb-ui's People

Contributors

prosperi avatar rococodogs avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.