Skip to content

MVP to integrate the IICWG Ice Logisitics Portal into the Polar View service (BAS)

Notifications You must be signed in to change notification settings

Vizzuality/polar-view

Repository files navigation

Polar View high bandwidth

This repository is a monorepo using yarn workspaces and contains two different applications in three different packages on the packages directory):

  • High bandwidth: readme
  • Low bandwidth: readme
  • Core: This serves the common configuration. The tailwind styles that both applications use.

Getting started

Use

yarn install

at the root of the monorepo to install all packages. The node_modules will then be stored always at the root and used on the different projects.

There are two scripts that work as shortcuts to use the different commands on the low and high version:

yarn high ...

will run commands on the high bandwidth version

yarn low ...

will run commands on the low bandwidth version

E.g.

yarn high dev

will run the dev environment from the high bandwidth version

Deployment

This project is initally deployed on the vercel platform but any alternative host could be used. The current setup uses three different deploys two for the two main applications and the storybook with the components documentation.

Testing

For the high-bandwith version of the app we are using cypress, which is and end-to-end (e2e) testing library but also allows unit testing.

The e2e tests examples are on the cypress/integration folder and the unit tests under cypress/unit.

How to run the tests

To open the cypress GUI use

yarn high cypress:open

or for the unit tests

yarn high cypress:unit:open

Also you can run the tests on headless mode with the following commands:

yarn high cypress:run

and

yarn high cypress:unit:run

About

MVP to integrate the IICWG Ice Logisitics Portal into the Polar View service (BAS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published