An open API service indexing awesome lists of open source software.

https://github.com/bhklab/toxicodb-web

ToxicoDB is a database of curated toxicogenomics datasets that provides convenient data summary and visualization to mine these complex data. Users can find drug and gene annotations, visualize differential gene expression and enriched pathways within datasets for drug of interest.
https://github.com/bhklab/toxicodb-web

d3js drug nodejs plotlyjs reactjs toxicogenomics

Last synced: about 2 months ago
JSON representation

ToxicoDB is a database of curated toxicogenomics datasets that provides convenient data summary and visualization to mine these complex data. Users can find drug and gene annotations, visualize differential gene expression and enriched pathways within datasets for drug of interest.

Awesome Lists containing this project

README

          

# ToxicoDB Web Application

## Setup Instructions

**Note: Yarn must be installed on the machine!**

- Clone the repo

```bash
git clone git@github.com:bhklab/ToxicoDB.git
cd ToxicoDB
```

- In the project directory, install all server dependencies `npm i`
- Create .env using .env.example as a reference to access the database
- Start the server by running `npm start` or `npm run devstart`(development mode) command
- Start the client (development mode) by running `yarn start`
- Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

## Dependencies

- React
- React-Router
- Express
- Knex
- Body-parser

## Dev Dependenices

- Nodemon
- Eslint

## Build Instructions

### `cd client && yarn build`

Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

## Servers

- Testing Server: [http://beta.toxicodb.ca](http://beta.toxicodb.ca)
- Production Server: [http://toxicodb.ca](http://toxicodb.ca)

## Migrations

- `knex migrate:make (migration_name)` - To create a new migration file.
- `knex migrate:latest` - To run the lastest migrations and create corresponding tables.

## Seeds (Seeding Files)

- Create manually a file (`touch file_name`).
- Run `knex seed:run` to run the seeding file(s) in order to seed the table(s) in the database.