|
Deploy to Dev / deploy-dev (push) Failing after 31s
Details
Backend: - Subscriptions: add duration_days field to plan, fix duration logic, remove allowed_durations restriction - Users: add StudentMentorViewSet (remove_mentor), fix remove_client (board access + notification) - Users: add STATUS_REMOVED to MentorStudentConnection, fix re-invite after removal - Users: add authentication_classes=[] to all public auth endpoints (fix user_not_found 401) - Users: fix verify-email and reset-password URLs in email tasks - Users: validate IANA timezone on registration - Schedule: add group/group_name to LessonCalendarItemSerializer - Referrals: add tasks.py for Celery, add process_pending_referral_bonuses to beat schedule - Email templates: redesign all 5 templates (gradient header, icons, Училл branding) Frontend: - Calendar: fix SWR revalidation after create/update/delete (match childId key), clear errors on tab switch - Students: add remove buttons with warning dialog (mentor removes student, student removes mentor) - Students: add tabs for client (Мои менторы / Входящие / Исходящие), fix pending_student filter - Payment: fix duration_days from plan, show Бесплатно for 0₽, show X дн. period - Referrals: full redesign — stats, levels progress, referrals list, earnings history, bonus balance - Sign-up: add referral code field, auto-fill from ?ref= param - Subscription guard: redirect mentor to /payment-platform if no active subscription - Error pages: translate to Russian - Page titles: dynamic Russian titles via usePageTitle hook - Logo: fix full-page reload on click (use react-router Link directly) - Favicon: use /logo/favicon.png - Remove logo from header (keep in nav only) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .prettierignore | ||
| Dockerfile | ||
| README.md | ||
| index.html | ||
| jsconfig.json | ||
| next.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| prettier.config.mjs | ||
| vite.config.js | ||
| yarn.lock | ||
README.md
Prerequisites
- Node.js 20.x (Recommended)
Installation
Using Yarn (Recommended)
yarn install
yarn dev
Using Npm
npm i
npm run dev
Build
yarn build
# or
npm run build
Mock server
By default we provide demo data from : https://api-dev-minimal-[version].vercel.app
To set up your local server:
-
Resource: Download.
Full version
- Create React App (migrate to CRA).
- Next.js
- Vite.js
Starter version
- To remove unnecessary components. This is a simplified version (https://starter.minimals.cc/)
- Good to start a new project. You can copy components from the full version.
- Make sure to install the dependencies exactly as compared to the full version.
NOTE: When copying folders remember to also copy hidden files like .env. This is important because .env files often contain environment variables that are crucial for the application to run correctly.