1.3 KiB
1.3 KiB
Discoursio Webapp
Technology Stack
Development
How to start
- Clone the repository
- Install dependencies:
bun i
(or npm/pnpm/yarn) - Create a
.env
file (variables withPUBLIC_
are used in/src/utils/config.ts
)
Main commands
bun run dev # Start development server
bun run build # Build for production
bun run typecheck # Type checking
bun run fix # Fix styles and linting
bun run storybook # Start Storybook
Testing
E2E tests (Playwright)
bun run e2e:install # Install E2E dependencies
bun run e2e:tests # Run tests
bun run e2e:tests:ci # Run tests in CI
Structure:
/tests/*
: Tests without authentication/tests-with-auth/*
: Tests with authentication
CI/CD
Tests are executed in GitHub Actions. Make sure BASE_URL
is correctly configured in CI.