uchill/front_minimal
Dev Server e49fa9e746
Deploy to Dev / deploy-dev (push) Failing after 31s Details
feat: subscriptions, referrals, students/mentors removal, email templates, calendar fixes
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>
2026-03-13 00:39:37 +03:00
..
public feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
src feat: subscriptions, referrals, students/mentors removal, email templates, calendar fixes 2026-03-13 00:39:37 +03:00
.editorconfig feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.eslintignore feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.eslintrc.cjs feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.gitignore feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
.prettierignore feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
Dockerfile fix: vite dev server config — allowedHosts, Dockerfile, docker-compose 2026-03-09 17:24:07 +03:00
README.md feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
index.html feat: subscriptions, referrals, students/mentors removal, email templates, calendar fixes 2026-03-13 00:39:37 +03:00
jsconfig.json feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
next.config.mjs feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
package-lock.json feat: board list view, excalidraw basePath fix, analytics, feedback pages 2026-03-09 16:35:30 +03:00
package.json feat: migrate front_minimal from Next.js to Vite + React SPA 2026-03-09 17:04:53 +03:00
prettier.config.mjs feat: calendar form improvements + real-time sync 2026-03-08 02:46:06 +03:00
vite.config.js fix: vite dev server config — allowedHosts, Dockerfile, docker-compose 2026-03-09 17:24:07 +03:00
yarn.lock feat: board list view, excalidraw basePath fix, analytics, feedback pages 2026-03-09 16:35:30 +03:00

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:

Full version

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.