

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
123456# База даних та Prisma — buero.de78## Джерело схеми910Схема та зв'язки описані в **docs/architecture.md** (розділ 3). Prisma schema (schema.prisma) має відповідати цим таблицям.1112## Основні сутності1314- **users** — id (UUID), email, password_hash, role (student | teacher), language (en | de), stripe_customer_id, deleted_at, timestamps.15- **refresh_tokens** — зберігання refresh JWT для revoke при logout.16- **student_profiles** — user_id (1-1), level (A1|A2|B1|B2), trial_ends_at, timezone.17- **teacher_profiles** — user_id (1-1), bio, is_active.18- **courses** — teacher_id (nullable, «хто створив»), title, description, language, category (language | sociocultural), is_published.19- **course_materials** — course_id, type (video, vocabulary, grammar, quiz, scenario, cultural_insight, homework, text), title, content (JSONB), order_index.20- **user_course_access** — доступ студента до курсу: trial, purchase або subscription; UNIQUE(user_id, course_id).21- **subscriptions**, **payments** — прив'язані до курсу (course_id); один активний subscription на (user_id, course_id).22- **stripe_webhook_events** — stripe_event_id (UNIQUE) для ідемпотентності webhook.23- **course_progress**, **quiz_attempts** — прогрес і покрокові відповіді квізів/сценаріїв.24- **lesson_requests** — student_id, teacher_id (після прийняття), status (pending | accepted | completed | rejected).25- **placement_questions** — один глобальний Placement Test (без course_id).2627## Патерни2829- Інжекція **PrismaService** у сервіси; не створювати окремий репозиторійний шар без потреби.30- Транзакції для операцій з кількома таблицями (наприклад створення subscription + оновлення user).31- Міграції: описові назви; тестувати на dev перед застосуванням.32- Індекси з architecture.md (users.email, subscriptions.user_id, course_materials.course_id, тощо) — додати в міграції або вручну.3334## Команди (орієнтовно)3536- Генерація клієнта: `npx prisma generate`37- Міграції: `npx prisma migrate dev` / `migrate deploy`38- Seed: за потреби (placement_questions, тестові курси тощо).39
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| annnsvm/buro-de.cursor/rules/api-patterns.mdc · 3 | Cursor rules | styleapi | 48/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/auth-and-roles.mdc · 3 | Cursor rules | security | 39/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/coding-style.mdc · 3 | Cursor rules | lint-format | 48/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/frontend-patterns.mdc · 3 | Cursor rules | securityapi | 39/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/git-workflow.mdc · 3 | Cursor rules | gitagent-behaviour | 25/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/project-structure.mdc · 3 | Cursor rules | no sections | 44/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/stripe-and-access.mdc · 3 | Cursor rules | no sections | 39/100 | 14 days ago | |
| annnsvm/buro-de.cursor/rules/testing-api.mdc · 3 | Cursor rules | testtesting-strategydatabase | 48/100 | 14 days ago |
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 46 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 14 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 14 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 14 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 14 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 46 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 14 days ago |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/annnsvm-buro-de-cursor-rules-database-patterns)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.