/genesys-hn

Hacker News UI

Primary LanguageTypeScript

Hacker News UI

This project was bootstrapped with Create React App.

Installation

In the project directory run:

npm i

Available Scripts

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

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

npm test

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

npm run test-coverage

Test coverage reports are generated in the coverage folder and are also printed on the console.
Open ./coverage/lcov-report/index.html to view the coverage report.

npx playwright test (server must be running)

Runs the end-to-end tests using Playwright.

To start the UI run npx playwright test --ui.

To open the HTML report run npx playwright show-report.

npm run 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.