.gitea/workflows | ||
.github/workflows | ||
.storybook | ||
.vscode | ||
api | ||
patches | ||
public | ||
src | ||
templates | ||
tests | ||
.editorconfig | ||
.gitignore | ||
.npmrc | ||
.stylelintignore | ||
.stylelintrc.json | ||
app.config.ts | ||
biome.json | ||
codegen.yml | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
playwright.config.ts | ||
README.en.md | ||
README.md | ||
tsconfig.json | ||
vite.config.ts |
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
CI/CD
Tests are executed in GitHub Actions. Make sure BASE_URL
is correctly configured in CI.