source: docs/README.md@ 9577c79

main
Last change on this file since 9577c79 was 9577c79, checked in by Stefan <trsunovstefan@…>, 13 days ago

add reserved_quantity and modify the phases, add v_03.png and v_03.xml for P1

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