Skip to content

Nessie Web UI - Import Bootstrap css from node_modules instead of CDN

Notifications You must be signed in to change notification settings

tamarinkeisari/nessie-ui

 
 

Repository files navigation

Dev

  • Run the Nessie Quarkus server from the Nessie repo.
  • 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

About

Nessie Web UI - Import Bootstrap css from node_modules instead of CDN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 45.9%
  • JavaScript 40.2%
  • Kotlin 8.1%
  • CSS 4.6%
  • HTML 1.2%