Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/projectnessie/nessie-ui

Nessie Web UI
https://github.com/projectnessie/nessie-ui

Last synced: about 2 months ago
JSON representation

Nessie Web UI

Awesome Lists containing this project

README

        

## Dev
* Run the Nessie Quarkus server from [the Nessie repo](https://github.com/projectnessie/nessie).
* Run `npm test -- --coverage --watchAll` to get unit tests constantly running. This has a mini console which can be used to re-run tests or to re-create jest snapshots
* Run `npm start --scripts-prepend-node-path` to start up a server and open a browser w/ the UI constantly updating

I use `pre-commit` to run `prettier` and `eslint` as part of the pre-commit hook and checks.

## Tools

* prettier - format text
* eslint - find common bugs and such
* jest - testing framework. We use snapshots heavily
* testing-library - the tool to help test React w/ async, events and DOM changes etc
* nock - stub out REST calls
* We use React functional components and hooks instead of classes/objects
* We use a proxy which forwards a running nessie on port 19120 to the port where `npm run` runs the webserver (3000) avoids having to deal w/ xss