webapp/README.md
Untone 194e40aa86
All checks were successful
deploy / testbuild (push) Successful in 2m17s
deploy / Update templates on Mailgun (push) Has been skipped
fixes
2024-10-09 11:39:10 +03:00

54 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Discoursio Webapp
## Технологический стек
- [TypeScript](https://www.typescriptlang.org/)
- [SolidJS](https://www.solidjs.com/)
- [Solid Start](https://start.solidjs.com/)
- [Vinxi](https://vinxi.vercel.app/)
- [SCSS](https://sass-lang.com/)
- [URQL](https://formidable.com/open-source/urql/)
- [i18next](https://www.i18next.com/)
- [Tiptap](https://tiptap.dev/)
- [Playwright](https://playwright.dev/)
- [Storybook](https://storybook.js.org/)
- [Stylelint](https://stylelint.io/)
- [Biome](https://biomejs.dev/)
## Разработка
### Начало работы
1. Клонируйте репозиторий
2. Установите зависимости: `bun i` (или npm/pnpm/yarn)
3. Создайте `.env` файл (переменные с `PUBLIC_` используются в `/src/utils/config.ts`)
### Основные команды
```bash
bun run dev # Запуск сервера разработки
bun run build # Сборка для продакшена
bun run typecheck # Проверка типов
bun run fix # Исправление стилей и линтинг
bun run storybook # Запуск Storybook
```
## Тестирование
### E2E тесты (Playwright)
```bash
bun run e2e:install # Установка зависимостей для E2E
bun run e2e:tests # Запуск тестов
bun run e2e:tests:ci # Запуск тестов в CI
```
Структура:
- `/tests/*`: Тесты без аутентификации
- `/tests-with-auth/*`: Тесты с аутентификацией
## CI/CD
Тесты выполняются в GitHub Actions. Убедитесь, что `BASE_URL` корректно настроен в CI.
## Версия проекта: 0.9.7