The CRDC Submission Portal is a React application that facilitates the data submission process for participating CRDC Data Commons projects. This project utilizes React.js, TypeScript, MUI, and Apollo Client, among other dependencies.
To run the CRDC Submission Portal project locally, follow these steps:
- Clone the repository
- Navigate to the project directory
- Copy
.env.example
to.env
and update the environment variables as needed - Install the dependencies:
npm ci
- Start the development server:
npm start
- Open your browser and visit
http://localhost:3010
to access the application.
For instructions on configuring the project, or for developer technical documentation, see the docs folder.
We welcome any form of contributions to the CRDC Submission Portal project.
We use Husky to run a pre-commit hook that will run ESLint, Prettier, and Typechecking on staged files. If there are any issues, you will need to fix them before you can commit your changes.
If you need to bypass the pre-commit hook, you can use the Git --no-verify
flag when committing your changes. However, this is not recommended as our CI/CD pipeline will fail if there are any issues.