The front-end repo. details to come.
pnpm i |
Installs the dependencies |
pnpm dev |
Starts the development server |
pnpm build |
Builds the application for production |
pnpm start |
Starts the production server, only if built |
pnpm lint |
Runs the linter |
pnpm test |
Runs the unit tests |
pnpm test:watch |
Runs the unit tests in watch mode |
pnpm test:e2e |
Runs the playwright end-to-end tests |
Open http://localhost:3000 with your browser to see the result.
Env variables are managed and validated for type safety with @t3-oss/env-nextjs and require configuration in the file @/lib/env.js.
Jest is used for unit tests. You can run the tests once or in watch mode.
pnpm test
// runs oncepnpm test:watch
// runs in watch mode
Playwright is used for end-to-end tests. A github action is configured to run the tests on push and pull request.
To run playwright locally, you must build and start the server first.
pnpm build && pnpm start
pnpm test:e2e