Skip to content

upb-code-labs/react-client

Repository files navigation

React Client

Github Actions Release Status Github Actions Tagging Status Github Actions Integration Status
code style: prettier linter: eslint testing: playwright UI library: shadcn/ui

Development

  1. Install dependencies:
pnpm install
  1. Start database and micro-services:
docker-compose up
  1. Start the development server:
pnpm dev

Testing

Write your tests under e2e directory. You can run your tests in UI mode with:

pnpm test:open

Or you can run your tests in headless mode with:

pnpm test:run

It's recommended to remove docker-compose cache and re-start the services before running tests:

docker rm $(docker ps -qa) && docker-compose up --remove-orphans --force-recreate