Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.22 KB

README.md

File metadata and controls

34 lines (21 loc) · 1.22 KB

Projektor UI

Code coverage percentage

The Projektor UI is a React app written with Typescript/Javascript, built by Parcel with Yarn

Development

To start the dev server:

  1. Install Yarn if you don't already have it
  2. Download and install the project's dependencies with yarn install
  3. Start the dev server with yarn start

This will start the server on http://localhost:1234

By default, when running locally the API backend points to http://localhost:8080 which is the default port of the server. Start up the server separately using Gradle.

Testing

The UI is tested by a combination of React Testing Library unit tests and Cypress browser tests.

To run the unit tests execute yarn test

And to run the Cypress tests either cy:run to run them headless or cy:open to start the Cypress server and run the tests in Chrome.

Formatting

The app uses prettier for easy auto formatting. To run the formatter execute yarn format