| 1 | # EduBerza
|
|---|
| 2 |
|
|---|
| 3 | ## Short description
|
|---|
| 4 |
|
|---|
| 5 | *P0 — write 150–200 words here in your own words. AI-generated text is not
|
|---|
| 6 | allowed in this phase.*
|
|---|
| 7 |
|
|---|
| 8 | *Your own Macedonian draft is in [`opis.md`](P0-ProjectDefinition/opis.md); the material to cover is
|
|---|
| 9 | what data the database holds (users, crypto assets, markets, orders, holdings,
|
|---|
| 10 | transactions, market trades, candles, watchlists), who it is for (beginner
|
|---|
| 11 | traders), and what kind of project it is.*
|
|---|
| 12 |
|
|---|
| 13 | ## Team members
|
|---|
| 14 |
|
|---|
| 15 | - *Your First Name Last Name — Index XXXXXX*
|
|---|
| 16 |
|
|---|
| 17 | ## Course
|
|---|
| 18 |
|
|---|
| 19 | Databases in 2025/2026/Winter
|
|---|
| 20 |
|
|---|
| 21 | ## Under the supervision of
|
|---|
| 22 |
|
|---|
| 23 | Prof. Dr. Vangel V. Ajanovski
|
|---|
| 24 |
|
|---|
| 25 | ## How this folder maps to the wiki
|
|---|
| 26 |
|
|---|
| 27 | The files here are grouped into one folder per phase for convenience. **The wiki
|
|---|
| 28 | is flat** — when you publish, each file becomes a page named exactly after the
|
|---|
| 29 | file, with no folder prefix and with capitalisation preserved: `About`,
|
|---|
| 30 | `ERModel`, `RelationalDesign`, `UseCaseModel`, `UseCase0001`, …,
|
|---|
| 31 | `PrototypeImplementation`, `BuildInstructions`, and the four `*AIUsage` pages.
|
|---|
| 32 | Attachments (`ERModel_v01.xml`, `ERModel_v01.png`, `schema_creation.sql`,
|
|---|
| 33 | `data_load.sql`, `relational_schema.jpg`, the screenshots) attach to the page
|
|---|
| 34 | that documents them.
|
|---|
| 35 |
|
|---|
| 36 | | Folder | Phase | Wiki pages produced |
|
|---|
| 37 | |--------|-------|---------------------|
|
|---|
| 38 | | `P0-ProjectDefinition/` | P0 | `About` (+ this front page) |
|
|---|
| 39 | | `P1-ConceptualModel/` | P1 | `ERModel`, `ERModelAIUsage` |
|
|---|
| 40 | | `P2-RelationalDesign/` | P2 | `RelationalDesign`, `RelationalDesignAIUsage` |
|
|---|
| 41 | | `P3-UseCaseModel/` | P3 | `UseCaseModel`, `UseCase0001`–`UseCase0007`, `UseCaseModelAIUsage` |
|
|---|
| 42 | | `P4-Prototype/` | P4 | `PrototypeImplementation`, `UseCase000XImplementation`, `BuildInstructions`, `PrototypeImplementationAIUsage` |
|
|---|
| 43 |
|
|---|
| 44 | `Instructions.md` is the condensed course rubric — reference material, not a
|
|---|
| 45 | submission. `P0-ProjectDefinition/opis.md` and `P1-ConceptualModel/ep-diagram.md`
|
|---|
| 46 | are your own working notes, kept because they are the evidence that the initial
|
|---|
| 47 | model was yours before any AI was used.
|
|---|
| 48 |
|
|---|
| 49 | The two SQL scripts deliberately stay in `server/db/` rather than moving into
|
|---|
| 50 | `P2-RelationalDesign/`: they are compiled into the prototype binary with
|
|---|
| 51 | `go:embed`, which requires them to sit inside the Go package. Attach them to the
|
|---|
| 52 | `RelationalDesign` page from there.
|
|---|
| 53 |
|
|---|
| 54 | ## Content
|
|---|
| 55 |
|
|---|
| 56 | | Phase | Link | Status |
|
|---|
| 57 | |-------|------|--------|
|
|---|
| 58 | | P0 | [About](P0-ProjectDefinition/About.md) | Draft — needs your own text |
|
|---|
| 59 | | P1 | [ERModel](P1-ConceptualModel/ERModel.md) | Finished, awaiting approval |
|
|---|
| 60 | | P2 | [RelationalDesign](P2-RelationalDesign/RelationalDesign.md) | Finished, awaiting approval |
|
|---|
| 61 | | P3 | [UseCaseModel](P3-UseCaseModel/UseCaseModel.md) | Finished, awaiting approval |
|
|---|
| 62 | | P4 | [PrototypeImplementation](P4-Prototype/PrototypeImplementation.md) | Finished, awaiting approval |
|
|---|
| 63 | | P5 | *Normalization* | Not started |
|
|---|
| 64 | | P6 | *Complex DB Reports* | Not started |
|
|---|
| 65 | | P7 | *Advanced Database Development* | Not started |
|
|---|
| 66 | | P8 | *Advanced Application Development* | Not started |
|
|---|
| 67 | | P9 | *Other topics (Performance, Security)* | Not started |
|
|---|
| 68 |
|
|---|
| 69 | Keep the Status column current yourself — *started → completed → revised →
|
|---|
| 70 | approved → final* — after each consultation.
|
|---|
| 71 |
|
|---|
| 72 | Note: P0–P4 alone are not enough for a passing grade; at least some of P5–P9 are
|
|---|
| 73 | required. P5 is the recommended next one.
|
|---|
| 74 |
|
|---|
| 75 | ## Phase attachments
|
|---|
| 76 |
|
|---|
| 77 | | File | Phase | What |
|
|---|
| 78 | |------|-------|------|
|
|---|
| 79 | | [`ERModel_v02.xml`](P1-ConceptualModel/ERModel_v02.xml) | P1 | TerraER source, current version |
|
|---|
| 80 | | [`ERModel_v02.png`](P1-ConceptualModel/ERModel_v02.png) | P1 | Exported diagram image, current version |
|
|---|
| 81 | | [`ERModel_v01.xml`](P1-ConceptualModel/ERModel_v01.xml) | P1 | TerraER source, first version (kept per P1 rules) |
|
|---|
| 82 | | [`ERModel_v01.png`](P1-ConceptualModel/ERModel_v01.png) | P1 | Exported diagram image, first version |
|
|---|
| 83 | | [`../server/db/schema_creation.sql`](../server/db/schema_creation.sql) | P2 | DDL — drops and recreates the `project` schema |
|
|---|
| 84 | | [`../server/db/data_load.sql`](../server/db/data_load.sql) | P2 | DML — truncates and reloads sample data |
|
|---|
| 85 | | [`relational_schema.jpg`](P2-RelationalDesign/relational_schema.jpg) | P2 | Crow's-foot diagram exported from DBeaver |
|
|---|
| 86 |
|
|---|
| 87 | ## Use cases (P3)
|
|---|
| 88 |
|
|---|
| 89 | [UC0001](P3-UseCaseModel/UseCase0001.md) Register ·
|
|---|
| 90 | [UC0002](P3-UseCaseModel/UseCase0002.md) Log in ·
|
|---|
| 91 | [UC0003](P3-UseCaseModel/UseCase0003.md) Deposit ·
|
|---|
| 92 | [UC0004](P3-UseCaseModel/UseCase0004.md) Buy ·
|
|---|
| 93 | [UC0005](P3-UseCaseModel/UseCase0005.md) Sell ·
|
|---|
| 94 | [UC0006](P3-UseCaseModel/UseCase0006.md) Portfolio ·
|
|---|
| 95 | [UC0007](P3-UseCaseModel/UseCase0007.md) Watchlist
|
|---|
| 96 |
|
|---|
| 97 | ## AI usage logs
|
|---|
| 98 |
|
|---|
| 99 | Required by the phase rules for every phase where AI was used. P0 does not have
|
|---|
| 100 | one because AI use is forbidden there.
|
|---|
| 101 |
|
|---|
| 102 | - [ERModelAIUsage](P1-ConceptualModel/ERModelAIUsage.md) (P1)
|
|---|
| 103 | - [RelationalDesignAIUsage](P2-RelationalDesign/RelationalDesignAIUsage.md) (P2)
|
|---|
| 104 | - [UseCaseModelAIUsage](P3-UseCaseModel/UseCaseModelAIUsage.md) (P3)
|
|---|
| 105 | - [PrototypeImplementationAIUsage](P4-Prototype/PrototypeImplementationAIUsage.md) (P4)
|
|---|
| 106 |
|
|---|
| 107 | ## Build & run
|
|---|
| 108 |
|
|---|
| 109 | See [BuildInstructions](P4-Prototype/BuildInstructions.md), or [`../README.md`](../README.md)
|
|---|
| 110 | for the four-command quick start.
|
|---|
| 111 | # bp
|
|---|