Skip to content

GNS-Science/kororaa

Repository files navigation

Kororaa

The public web UI of the NSHM project

For details of the development setup, please see DEVELOPMENT.

Available Scripts

In the project directory, you can run:

yarn dev

Runs the app in the development mode.
This will print a link for you to open in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

You need an appropriate .env file to run yarn dev. You can base it on .env.example

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

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.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn relay

Run this whenever any of the GraphQL queries has been modified.

Cypress

Ensure that VITE_MSW=test is set in .env or wherever you manage your environment variables. This will make vite use the mocked graphql handlers in ./src/mocks/handlers.ts, replicating how we run cypress on GitHub.

yarn dev --host
yarn run cypress open

and choose E2E tests.

About

Kororaa - the public web UI of NSHM project.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages