VenomKB - A centralized knowledge base for computational toxinology
JavaScript Python CSS HTML
Switch branches/tags
Nothing to show
Latest commit e075d53 Jun 21, 2017 @JDRomano2 Rewrite DB index api and redux code
Big changes for one commit... Instead of querying for important fields
within the proteins and species collections, I've created a separate
collection called Dbindexitems that stores all of this in a static
format. The collection can be regenerated any time it's necessary by
running index/scripts/build_mongo_index.py.

Also, genomes are now passed to DataVirtualized, but they aren't
yet showing up in the list (need to add filtering conditions in order for
that to work).

Additionally, there is now decent support for literature references,
which aren't yet rendering but are in the redux store.

README.md

VenomKB

VenomKB splash

Web app version of VenomKB - a knowledge base for aggregating and identifying therapeutic uses of animal venoms and venom compounds.

To-do prior to release of v2.0.0

  • Add support for species images
  • Add support for protein images
  • Integrate literature predications into data views
  • Add "systemic effects" data
  • Add "molecular effects" data
  • Deploy to web

Installation

npm install

MongoDB setup

Currently, the database is on an unsecured AWS EC2 server located at mongodb://54.221.23.226/venomkb-staging

Once things are tightened up a bit, we will secure this.

Running the app

To test the app in developer mode:

npm start

To build the app for production:

npm build

The application will be deposited into the index/dist/ directory.

Run tests

npm test

(Note: there currently aren't any tests to run)

Reserved Files

Folder contains .eslintrc, .eslintignore and .babelrc files in addition to .gitignore. These files are to provide linting instructions, ignore files for linting, and ensure babel uses ES2015 and React transforms respectively.

http://jamesknelson.com/the-six-things-you-need-to-know-about-babel-6/

Features

  • ES6 - 7 Support with Babel
  • Redux dev tools to help you keep track of the app's state
  • Routing
  • hot module replacement support so you can change modules or react components without having to reload the browser
  • a webpack production config so you can build the app and make it ready for production
  • Sass support, just import your styles wherever you need them (and to add Bootstrap support)
  • ESLINT to keep your js readable