webapp/README.md

50 lines
1.6 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
```
## CI/CD
Тесты выполняются в GitHub Actions. Убедитесь, что `BASE_URL` корректно настроен в CI.
## Версия: 0.9.7