https://github.com/bhklab/xevadb
XevaDB is a database for PDX pharmacogenomic data.
https://github.com/bhklab/xevadb
patientderivedxenografts pdx
Last synced: 4 months ago
JSON representation
XevaDB is a database for PDX pharmacogenomic data.
- Host: GitHub
- URL: https://github.com/bhklab/xevadb
- Owner: bhklab
- Created: 2019-03-03T23:49:16.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-01T15:06:05.000Z (about 1 year ago)
- Last Synced: 2024-12-30T03:21:21.474Z (6 months ago)
- Topics: patientderivedxenografts, pdx
- Language: JavaScript
- Homepage: https://www.xevadb.ca/
- Size: 28.4 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XevaDB: A Database For PDX Pharmacogenomic Data.
## Setup Instructions
- Clone the repo
```bash
git clone [email protected]:bhklab/XevaDB.git
cd XevaDB
```- 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) or `nodemon start`(to see the live updates) command
- Start the client (development mode) by running `npm start`
- Open [http://localhost:3000](http://localhost:3000) to view it in the browser.## Dependencies
- ReactJS
- React-Router
- NodeJS/ExpressJS
- KnexJS
- Body-parser## Dev Dependenices
- Nodemon
- Eslint## Build Instructions
### `cd client && npm 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
- Production Server: [http://xevadb.ca](http://xevadb.ca)
- Testing Server: [http://beta.xevadb.ca](http://beta.xevadb.ca)## Migrations
- If knex is globally available use `knex` with the specific command else use `./node_modules/.bin/knex`.
- `knex migrate:make (migration_name)` - To create a new migration file.
- `knex migrate:latest` - To run the latest 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.