The CTDC UI is the front-end repository of NCI's Clinical and Translational Data Commons (CTDC) project, built on FNLCR's Bento Framework. It is a React application utilizing JavaScript, CSS, MUI, Babel, Jest, and Apollo Client, among other dependencies.
Prerequisites:
- Node.js 16.17.1
- npm 8.15.0
To run the CTDC UI project locally, follow these steps:
- Clone the repository:
git clone https://github.com/CBIIT/crdc-ctdc-ui.git cd crdc-ctdc-ui - Install dependencies:
npm install --legacy-peer-deps
- Start the development server:
npm start
- Open your browser and visit http://localhost:3000 to access the application.
To update backend or other service API, edit the configuration in public/injectEnv.js.
npm start– Run the app in development mode at http://localhost:3000npm test– Run tests in watch mode (Jest & React Testing Library)npm run build– Build the app for production to thebuildfolder