Web app version of VenomKB - a knowledge base for aggregating and identifying therapeutic uses of animal venoms and venom compounds.
> git clone https://github.com/jdromano2/venomkb > cd venomkb > npm install
VenomKB's API is currently a
Mongoose.js interface to a MongoDB database. Although the API currently only supports reading the database contents, future additions to VenomKB will require write access, so the API code should connect to the database via an account that has both read and write access.
We are working on creating a fully automated pipeline for bootstrapping the VenomKB database. When this is released, it will be part of the
venomkb python package that accompanies the website (see
In the meantime, you can prepare a rough approximation by downloading the data from VenomKB and putting it into a MongoDB database named
venomkb-staging. This should contain the following collections:
species. Once you have the database, you can connect the code to it by modifying the values in a file named
.env, which contains secure configuration details (a sample file with example values can be seen at
Running the app
To test the app in developer mode:
To build the app for production:
The application will be deposited into the
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.
(These are technical details regarding how we implement the website. For details about the features of the website itself, see About > Feature map on the website.)
- ES6 support via Babel
- Redux dev tools to help you keep track of the app's state
- Routing using Express and React Router
- Hot module replacement support so you can change modules or react components without having to reload the browser
- 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)
eslintto keep your js readable
For more information, you can contact one of the developers by email: