RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/annnsvm/buro-de

Cursor rule

.cursor/rules/project-structure.mdc

Структура проєкту buero.de — платформа вивчення німецької мови

Cursor rules

Quality

44/100

Scores the file, not the repository.

Length

301 words

7 headings · 0 code blocks

Repository

3

— · pushed 103 days ago

Last changed

3 days ago

First indexed 3 days ago.
annnsvm/buro-de/.cursor/rules/project-structure.mdcRawGitHub
1---
2alwaysApply: true
3description: "Структура проєкту buero.de — платформа вивчення німецької мови"
4---
5 
6# Buero.de — структура проєкту
7 
8## Backend
9 
10- Код backend у папці **buero-backend-api/**; вихідний код у **buero-backend-api/src/**.
11- **Package manager:** npm.
12- Джерела правди (архітектура, модулі, auth) — у **docs/** (див. нижче).
13 
14## Джерела правди
15 
16- **Архітектура та БД:** docs/architecture.md
17- **API-модулі:** docs/api-plan.md, docs/modules/*.md
18- **Auth:** docs/auth-spec.md, docs/auth-config.md
19- **Вимоги:** docs/requirements.md
20- **Інструменти:** docs/tools.md
21 
22## Модулі backend (порядок реалізації)
23 
241. **Auth** — реєстрація, логін, refresh, logout; JWT у cookie; refresh у Postgres.
252. **Users** — профіль поточного користувача (GET/PATCH me).
263. **Placement Test** — один глобальний тест, рівень A1–B2, trial після проходження.
274. **Courses** — CRUD курсів (teacher); список/перегляд для студента (доступ за підпискою/trial).
285. **Course Materials** — CRUD матеріалів (teacher); читання для студента; типи: video (YouTube), vocabulary, grammar, quiz, scenario, cultural_insight, homework, text.
296. **Progress & Quizzes** — course_progress, quiz_attempts (покрокове збереження), рекомендований крок.
307. **Subscriptions & Billing** — купівля/підписка на курс (Checkout з course_id), user_course_access, Stripe Customer Portal, webhooks.
318. **Lesson Requests** — студент створює запит; вчитель приймає/відхиляє, виставляє completed/rejected.
32 
33## Ролі
34 
35- **student** | **teacher**. Адмін-ролі немає.
36- Будь-який вчитель може створювати/редагувати/видаляти будь-який курс (courses.teacher_id лише «хто створив»).
37 
38## Стек (MVP)
39 
40- Backend: NestJS, Prisma, PostgreSQL, JWT (cookie), Swagger, class-validator, class-transformer. **npm** для залежностей.
41- Платежі: Stripe. Відео: YouTube (embed). Redis у MVP не використовується.
42 
43## Контент-моделі (фіксовані в проєкті)
44 
45- **Placement Test:** питання в таблиці **placement_questions**; поле **question_data** (JSONB) — текст питання, варіанти відповідей, правильна відповідь; **order_index** для порядку. Один глобальний тест (без course_id). Деталі: docs/modules/02-placement-test.md, docs/architecture.md §3.13.
46- **Сценарії (course_materials type = scenario):** **content** — JSON з нодами та гілками. Мінімум 3 гілки на сценарій. Формат нод: `{ id, type: "situation"|"choice"|"consequence"|"explanation", text, choices?: [{ text, nextNodeId, isCorrect, feedback }] }`. Деталі: docs/architecture.md §3.6, docs/modules/04-course-materials.md.
47- **Відео (course_materials type = video):** у **content** обов'язково поле **youtube_video_id** для embed (YouTube). Опційно **video_source: "youtube"** для майбутнього S3. Деталі: docs/modules/04-course-materials.md.
48 

Sections

  • Buero.de — структура проєкту
  • Backend
  • Джерела правди
  • Модулі backend (порядок реалізації)
  • Ролі
  • Стек (MVP)
  • Контент-моделі (фіксовані в проєкті)

Stack — with the evidence

typescript

(1.00)

prisma

(1.00)

eslint

(1.00)

node

(0.70)

react

(0.70)

nestjs

(0.70)

tailwind

(0.70)

vite

(0.70)

vitest

(0.70)

jest

(0.70)

playwright

(0.70)

javascript

(0.60)

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
annnsvm
Language
—
License
—
Archived
no

All configs in this repo

Also in annnsvm/buro-de

Diff this repo’s formats

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?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
annnsvm/buro-de.cursor/rules/api-patterns.mdc · 3Cursor rulestypescriptprisma+10styleapi48/1003 days ago
annnsvm/buro-de.cursor/rules/auth-and-roles.mdc · 3Cursor rulestypescriptprisma+10security39/1003 days ago
annnsvm/buro-de.cursor/rules/coding-style.mdc · 3Cursor rulestypescriptprisma+10lint-format48/1003 days ago
annnsvm/buro-de.cursor/rules/database-patterns.mdc · 3Cursor rulestypescriptprisma+10database52/1003 days ago
annnsvm/buro-de.cursor/rules/frontend-patterns.mdc · 3Cursor rulestypescriptprisma+10securityapi39/1003 days ago
annnsvm/buro-de.cursor/rules/git-workflow.mdc · 3Cursor rulestypescriptprisma+10gitagent-behaviour25/1003 days ago
annnsvm/buro-de.cursor/rules/stripe-and-access.mdc · 3Cursor rulestypescriptprisma+10no sections39/1003 days ago
annnsvm/buro-de.cursor/rules/testing-api.mdc · 3Cursor rulestypescriptprisma+10testtesting-strategydatabase48/1003 days ago
Diff against .cursor/rules/api-patterns.mdc Diff against .cursor/rules/auth-and-roles.mdc Diff against .cursor/rules/coding-style.mdc Diff against .cursor/rules/database-patterns.mdc Diff against .cursor/rules/frontend-patterns.mdc Diff against .cursor/rules/git-workflow.mdc Diff against .cursor/rules/stripe-and-access.mdc Diff against .cursor/rules/testing-api.mdc

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126Cursor rulesgobun+5setupbuildtestlint-format+6100/1003 days ago
TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45Cursor rulestypescriptpytest+15testlint-formatstylearch+5100/1003 days ago
markstev/mark-starter.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+14setuptestlint-formatstyle+699/1003 days ago
Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+13setuptestlint-formatstyle+799/1003 days ago
dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0Cursor rulestypescriptturborepo+15setuptestlint-formatstyle+799/1003 days ago
deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1Cursor rulestypescriptnextjs+5setuptestlint-formatstyle+799/1003 days ago
langflow-ai/langflow.cursor/rules/docs_development.mdc · 153kCursor rulespythonnode+16setupbuildtestlint-format+797/1003 days ago
TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45Cursor rulestypescriptpytest+15teststyletesting-strategysecurity+397/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack