Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
fb93e38
fix doc
boldak Jan 14, 2022
af09c7f
fix doc
yacvals Sep 26, 2023
03c111f
Update state-of-the-art.md
stasyan04 Sep 26, 2023
003db00
Update state-of-the-art.md
stasyan04 Sep 26, 2023
a5091ed
Update state-of-the-art.md
stasyan04 Sep 26, 2023
e4b53a3
Update state-of-the-art.md
stasyan04 Sep 26, 2023
59310e1
Update state-of-the-art.md
stasyan04 Sep 26, 2023
cf5da56
Update state-of-the-art.md
stasyan04 Sep 26, 2023
5cd97e8
Update state-of-the-art.md
stasyan04 Sep 26, 2023
459eee1
Update state-of-the-art.md
stasyan04 Sep 26, 2023
cf54b53
Update state-of-the-art.md
stasyan04 Sep 26, 2023
e0a11be
Update state-of-the-art.md
stasyan04 Sep 26, 2023
c6ec30b
Update state-of-the-art.md
stasyan04 Sep 26, 2023
2e1bfd3
Update state-of-the-art.md
stasyan04 Sep 26, 2023
04b1c95
Merge pull request #1 from StrivingToAdoniss/Olesia
StrivingToAdoniss Sep 27, 2023
cc0279c
Update state-of-the-art.md
stasyan04 Sep 27, 2023
c74c8c0
Update state-of-the-art.md
stasyan04 Sep 27, 2023
c2de5bc
Update state-of-the-art.md
StrivingToAdoniss Sep 28, 2023
48aaf20
Update state-of-the-art.md
StrivingToAdoniss Sep 28, 2023
7e6eb02
Update state-of-the-art.md
StrivingToAdoniss Sep 28, 2023
397fb7d
Update state-of-the-art.md
StrivingToAdoniss Sep 28, 2023
81257ca
Update state-of-the-art.md
StrivingToAdoniss Sep 28, 2023
8210500
Update state-of-the-art.md
StrivingToAdoniss Sep 28, 2023
1df5d92
Merge pull request #2 from StrivingToAdoniss/Stanislav
StrivingToAdoniss Sep 28, 2023
afa61cd
Update README.md
StrivingToAdoniss Sep 28, 2023
7fc4951
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
09eca4b
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
fa2faa2
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
7ce1616
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
af416ec
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
1402caf
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
5810421
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
e2ed6b3
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
fe71638
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
34dfa6a
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
2baf42c
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
a5aaaa3
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
78b7c41
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
3c05891
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
b7ee475
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
7f5c566
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
58c0d3f
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
080bd67
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
f4b750e
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
ad9b223
Update state-of-the-art.md
HlibPavlyk Sep 28, 2023
589cf7d
update stakeholders-needs.md
Sep 28, 2023
cc888e9
refactor stakeholders-needs.md
Sep 28, 2023
4158cf0
improve punctuation
Sep 28, 2023
2bc7203
update stakeholders-needs.md
mksyats Sep 29, 2023
27e7c88
Merge pull request #4 from StrivingToAdoniss/Maksym
HlibPavlyk Oct 1, 2023
a02d0ec
merge 'master' into 'Mykola'
Oct 1, 2023
a7b225b
improve table of contents
Oct 1, 2023
bebd204
improve table output
Oct 1, 2023
0da0550
formalize the style of use cases, correct spelling mistakes
Oct 1, 2023
257ce4c
add definitions
Oct 2, 2023
3fdaa15
update table of contents, refactor table output
Oct 2, 2023
059cff5
Merge pull request #3 from StrivingToAdoniss/Mykola
StrivingToAdoniss Oct 3, 2023
49ff6c1
Merge pull request #3 from StrivingToAdoniss/Mykola
StrivingToAdoniss Oct 3, 2023
a3b37ad
add priv tables
HlibPavlyk Oct 9, 2023
a8953d9
Merge branch 'Hlib' of https://github.com/StrivingToAdoniss/IM-22_lab…
HlibPavlyk Oct 9, 2023
821ae1c
Merge pull request #5 from StrivingToAdoniss/master
olechok Oct 10, 2023
242ebbd
add diagram
HlibPavlyk Oct 10, 2023
eb9d23d
Update README.md
HlibPavlyk Oct 10, 2023
a30771b
Update README.md
HlibPavlyk Oct 10, 2023
e5f19b3
Add use case and sequence diagrams
olechok Oct 10, 2023
b7acca2
Update lockfileVersion from 1 to 3
olechok Oct 10, 2023
8534278
Merge pull request #6 from StrivingToAdoniss/Olya
HlibPavlyk Oct 10, 2023
57e8302
Update README.md
HlibPavlyk Oct 10, 2023
0c0b8b9
Add missing note
olechok Oct 10, 2023
8362852
Merge pull request #7 from StrivingToAdoniss/Olya
olechok Oct 10, 2023
288188b
Add missing note
olechok Oct 10, 2023
b9a032b
Nothing important
olechok Oct 10, 2023
94e78bd
Add other diagrams
HlibPavlyk Oct 10, 2023
b8b2433
merge
HlibPavlyk Oct 10, 2023
3694c0e
update file
HlibPavlyk Oct 10, 2023
2a182c8
update file
HlibPavlyk Oct 10, 2023
92b4098
update
HlibPavlyk Oct 10, 2023
b6b52f6
Update README.md
HlibPavlyk Oct 10, 2023
005bf33
update
HlibPavlyk Oct 10, 2023
000b2ce
Update README.md
HlibPavlyk Oct 10, 2023
28bdacd
Merge remote-tracking branch 'origin/Hlib' into Olya
olechok Oct 10, 2023
e77471c
Merge pull request #10 from StrivingToAdoniss/Hlib
HlibPavlyk Oct 10, 2023
23dcb02
Fix tables
olechok Oct 10, 2023
6e44d11
Merge pull request #11 from StrivingToAdoniss/Olya
olechok Oct 10, 2023
39e2c08
Added a link to the documentation.
olechok Oct 10, 2023
59e7a8e
fix publish workflow
olechok Oct 10, 2023
cd55891
Merge pull request #12 from StrivingToAdoniss/Olya
olechok Oct 10, 2023
3dd5368
Fix README.md previous commits
StrivingToAdoniss Oct 11, 2023
ec1d104
refactor stakeholders-needs.md
Oct 14, 2023
8aa72a6
Merge pull request #13 from StrivingToAdoniss/Mykola
HlibPavlyk Oct 14, 2023
ce98dc7
Update
HlibPavlyk Oct 14, 2023
0d9c9c5
Update README.md
HlibPavlyk Oct 14, 2023
026d9fc
Update README.md
HlibPavlyk Oct 14, 2023
99bba69
Merge pull request #14 from StrivingToAdoniss/Hlib
HlibPavlyk Oct 14, 2023
1605404
create gh-actions publish docs workflow
olechok Oct 15, 2023
1720fb1
changed name
olechok Oct 15, 2023
e5776db
change the access to runs workflow for just master
olechok Oct 15, 2023
75ee3fd
Merge pull request #15 from StrivingToAdoniss/Olya
olechok Oct 15, 2023
bd83ff7
fix mistakes
olechok Oct 20, 2023
3ea7e09
Merge pull request #16 from StrivingToAdoniss/Olya
olechok Oct 20, 2023
b8a9193
add business-objects model and ER-model
Nov 1, 2023
4e30d78
fix mistakes in use cases
Nov 1, 2023
917081d
add relational schema
Nov 1, 2023
118d760
fix UML-syntax
Nov 4, 2023
f9848ab
Merge pull request #17 from StrivingToAdoniss/Mykola
StrivingToAdoniss Nov 6, 2023
c927d33
fix lab 4
Nov 8, 2023
5c39293
Merge pull request #18 from StrivingToAdoniss/Mykola
StrivingToAdoniss Nov 9, 2023
8763d4d
Update README.md
StrivingToAdoniss Nov 18, 2023
6bad793
Update README.md
StrivingToAdoniss Nov 18, 2023
f3166e9
Update README.md
StrivingToAdoniss Nov 18, 2023
bd5ef45
Update README.md
StrivingToAdoniss Dec 4, 2023
f877f36
Add files via upload
StrivingToAdoniss Dec 4, 2023
94d2af9
Update README.md
StrivingToAdoniss Dec 4, 2023
9b58a7a
Update README.md
StrivingToAdoniss Dec 4, 2023
1c700e2
Update README.md
StrivingToAdoniss Dec 4, 2023
01e3560
Add files via upload
StrivingToAdoniss Dec 4, 2023
17b3dd3
Update README.md
StrivingToAdoniss Dec 4, 2023
1b1306e
Update README.md
StrivingToAdoniss Dec 4, 2023
116e419
Update README.md
StrivingToAdoniss Dec 4, 2023
5b72dfc
Update README.md
StrivingToAdoniss Dec 4, 2023
3e4d8dd
Update README.md
StrivingToAdoniss Dec 4, 2023
0092938
Update README.md
StrivingToAdoniss Dec 5, 2023
ed4ef9d
Delete src/js directory
StrivingToAdoniss Dec 5, 2023
bffb197
Add files via upload
StrivingToAdoniss Dec 5, 2023
44e8006
makes routes
yacvals Dec 14, 2023
749b47f
makes routes
yacvals Dec 14, 2023
fc00f1a
by Olesia
yacvals Dec 14, 2023
16e783b
by Olesia
yacvals Dec 14, 2023
bbeba5e
by Olesia
yacvals Dec 14, 2023
f254ec0
Create DB_RESTFull API.md
yacvals Dec 14, 2023
66e9b2f
Update DB_RESTFull API.md
yacvals Dec 14, 2023
b9a5125
Update DB_RESTFull API.md
yacvals Dec 14, 2023
35f4969
Update DB_RESTFull API.md
yacvals Dec 14, 2023
c766006
Update DB_RESTFull API.md
yacvals Dec 14, 2023
0adae72
Update DB_RESTFull API.md
yacvals Dec 14, 2023
eecdaf2
Update DB_RESTFull API.md
yacvals Dec 14, 2023
1a97e0f
Update DB_RESTFull API.md
yacvals Dec 14, 2023
aaf0f9a
Update DB_RESTFull API.md
yacvals Dec 14, 2023
17e1966
Update DB_RESTFull API.md
yacvals Dec 14, 2023
faf5f53
Update DB_RESTFull API.md
yacvals Dec 14, 2023
3d5f1d6
Update DB_RESTFull API.md
yacvals Dec 14, 2023
07426a2
Update DB_RESTFull API.md
yacvals Dec 14, 2023
d12345e
update
yacvals Dec 14, 2023
34167da
Create DB_RESTFull API.md
yacvals Dec 14, 2023
8adbcb5
Delete DB_RESTFull API.md
yacvals Dec 14, 2023
ae5ab6f
Add files via upload
yacvals Dec 14, 2023
9a8b486
Add files via upload
yacvals Dec 14, 2023
e993d04
Add files via upload
yacvals Dec 14, 2023
b548e63
Update DB_RESTFull API.md
yacvals Dec 14, 2023
fd287f9
Merge pull request #19 from yacvals/master
yacvals Dec 14, 2023
ce3587c
Update DB_RESTFull API.md
yacvals Dec 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build and publish docs
run-name: ${{ github.actor }} is testing out GitHub Actions 🚀
on:
push:
branches:
- master

jobs:
Publish-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
- run: npm install
- run: npm run docs:build
- name: Publish build to gh-pages
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/.vuepress/dist
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .idea/IM-22_lab_and_course_works.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added .vs/IM-22_lab_and_course_works/v17/.wsuo
Binary file not shown.
7 changes: 7 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\D:\\Microsoft Visual Studio\\Repos\\IM-22_lab_and_course_works",
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
Binary file added DOC/1.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DOC/3 .png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added DOC/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
318 changes: 318 additions & 0 deletions DOC/DB_RESTFull API.md

Large diffs are not rendered by default.

Binary file added DOC/image22.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

## Як використовувати

Посилання на документацію: https://strivingtoadoniss.github.io/IM-22_lab_and_course_works/

В цьому репозиторії знаходиться шаблон для виконання лабораторних робіт.

Для виконання лабораторних робіт необхідно зробити ```fork``` цього репозіторію, склонувати вже власний репозіторій та розміщувати документацію у відповідних діректоріях ```./docs```.
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
}]
],
port: 3030,
base: '/edu_db_labs/',
base: '/IM-22_lab_and_course_works/',
theme: 'cool',
// dest: 'dist',
head: [
Expand Down
5 changes: 2 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@ home: true
actionText: Розпочати →
actionLink: /intro/

footer: "ECL 2.0 Licensed | Copyright © [YYYY] [Your Name]"
footer: "ECL 2.0 Licensed | Copyright © [2023] [Oleksand Horovyi]"
---


**Виконав(-ла):**

*студент(-ка) 2-го курсу, групи (шифр групи)*<span padding-right:5em></span> **[ім’я ПРІЗВИЩЕ] [Посилання email, tg, fb]**

*студент 2-го курсу, групи ІМ-22*<span padding-right:5em></span> **Горовий Олександр** [Telegram](https://t.me/GigaWaltuh)

**Керівник**

Expand Down
21 changes: 14 additions & 7 deletions docs/conclusion/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
# Висновки

У висновках наводять оцінку отриманих результатів, можливі галузі його використання. Висновки повинні містити в собі коротку узагальнену оцінку результатів розробки, у
тому числі і з погляду на їх технічно-економічну ефективність. Необхідно порівняти
отримані результати усіх характеристик об’єкта проєктування із завданням і з основними показниками сучасних аналогічних об’єктів.
## Узагальнена оцінка результатів:

Необхідно вказати яке нове технічне рішення покладене в основу проєкту і у чому її
переваги, що нового було запропоновано самим студентом.
Розроблене APІ виглядає добре структурованим та функціональним. Створена архітектура дозволяє підвщити швидкість роботи із базою даних, а також має приємний інтерфейс.

## Технічно-економічна ефективність:

Використання FastAPI дозволяє швидко розробляти API з високою продуктивністю, що може сприяти ефективності розробки. Асинхронний підхід може полегшити роботу в умовах великої кількості одночасних запитів.

## Порівняння з аналогічними рішеннями:

Порівняно з іншими аналогічними рішеннями, наведеними вище у роботі, наше рішення може забезпечити конкурентні переваги в швидкодії та зручності розробки. Однак, результати також можуть залежати від конкретних вимог та обсягу роботи.

## Рекомендації:

На основі розглянутих результатів, рекомендується зберігати високу якість коду та забезпечувати його документацією. Важливо також враховувати специфіку завдань та обсягів роботи при використанні цього API.

На базі отриманих висновків можуть надаватися рекомендації по використанню розробки. Вони повинні
мати конкретний характер і бути цілком підтверджені проєктом.

191 changes: 187 additions & 4 deletions docs/design/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,190 @@
# Проєктування бази даних

В рамках проекту розробляється:
- модель бізнес-об'єктів
- ER-модель
- реляційна схема
## Модель бізнес-об'єктів

@startuml

entity User
entity User.firstname
User.firstname -u-* User
entity User.lastname
User.lastname -u-* User
entity User.nickname
User.nickname -u-* User
entity User.email
User.email -u-* User
entity User.password
User.password -u-* User

entity Permission
entity Permission.name
Permission.name -d-* Permission

entity Right
entity Right.name
Right.name -u-* Right

entity Grant

entity Role
entity Role.name
Role.name -u-* Role
entity Role.description
Role.description -d-* Role

entity Access

entity Request
entity Request.target
Request.target -u-* Request
entity Request.type
Request.type -u-* Request
entity Request.date
Request.date -u-* Request

entity Search

entity Filter
entity Filter.keyword
Filter.keyword -d-* Filter
entity Filter.country
Filter.country -d-* Filter
entity Filter.fileFormat
Filter.fileFormat -l-* Filter

entity File
entity File.name
File.name -d-* File
entity File.description
File.description -d-* File
entity File.uploadDate
File.uploadDate -d-* File
entity File.lastEditDate
File.lastEditDate -d-* File
entity File.format
File.format -d-* File
entity File.hasVisualization
File.hasVisualization -u-* File
entity File.authorId
File.authorId -l-* File
entity File.country
File.country -r-* File

User "0,*" -l- "1,1" Role
User "1,1" -r- "0,*" Request

Access "0,*" -d- "1,1" Role
Access "0,*" -u- "1,1" File

Grant "0,*" -l- "1,1" Right
Grant "0,*" -r- "1,1" Role

Right "1,1" -l- "0,*" Permission

Search "0,*" -d- "1,1" Request
Search "0,*" -u- "1,1" File

Filter "0,*" -l- "1,1" Request

@enduml

## ER-модель

@startuml

package ProfileManagement {
entity User <<ENTITY>> {
id: UUID
nickname: TEXT
firstname: TEXT
lastname: TEXT
email: TEXT
password: TEXT
}
}

package AccessPolicy {
entity Permission <<ENTITY>> {
id: NUMBER
name: TEXT
}

entity Right <<ENTITY>> {
id: NUMBER
name: TEXT
}

entity Grant

enum Role <<ENUMERATION>> #yellow {
id: NUMBER
name: TEXT
description: TEXT
}

object Guest #white
Guest .u.> Role :instanceOf
object RegisteredUser #white
RegisteredUser .u.> Role :instanceOf
object Editor #white
Editor .u.> Role :instanceOf
object Administrator #white
Administrator .u.> Role :instanceOf

entity Access
}

package DataReceiving {
entity Request <<ENTITY>> {
id: NUMBER
target: TEXT
type: TEXT
date: DATETIME
}

entity Search

entity Filter <<ENTITY>> {
id: NUMBER
keyword: TEXT
country: TEXT
fileFormat: TEXT
}
}

package DataManipulation {
entity File <<ENTITY>> {
id: UUID
name: TEXT
description: TEXT
uploadDate: DATETIME
lastEditDate: DATETIME
format: TEXT
hasVisualization: BOOLEAN
authorId: UUID
country: TEXT
}
}

User "0,*" --> "1,1" Role

Permission "0,*" -l-> "1,1" Right

Grant "0,*" -r-> "1,1" Right
Grant "0,*" --> "1,1" Role

Access "0,*" -d-> "1,1" Role
Access "0,*" -u-> "1,1" File

Request "0,*" --> "1,1" User

Search "0,*" --> "1,1" Request
Search "0,*" --> "1,1" File

Filter "0,*" --> "1,1" Request

@enduml

## Реляційна схема

![relational-schema](./images/relational-schema.png)
Binary file added docs/design/images/relational-schema.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 2 additions & 9 deletions docs/intro/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# Вступ

У вступі описується мета роботи і розглядається поставлене завдання з позиції її
актуальності, значення її розв’язання для тієї предметної області, до якої відноситься
тема бакалаврського проєкту.
Мета цього проекту - створення інноваційної системи управління та візуалізації відкритих даних. У сучасному світі обсяг відкритих даних надзвичайно великий, і, незважаючи на існуючі системи, що працюють з ними, існують значні недоліки, на виправлення яких спрямований наш проєкт.

Коротко характеризується сучасний рівень розв’язання
даного завдання і взаємозв’язок з іншими проєктами по цій тематиці.

Наводяться
основні технічні характеристики розробки й очікуваний технічно-економічний ефект
від її реалізації.
Багато існуючих систем забезпечують легкий доступ до даних, але надають несамодостатні засоби для їхньої ефективної візуалізації, тоді як інші можуть бути надто складними для використання. Наш проєкт намагатиметься створити систему, яка задовольняє ключові потреби користувачів, поєднуючи легкість доступу до даних з ефективною та інтуїтивно зрозумілою їхньою візуалізацією. Ми впевнені, що наш підхід принесе нові можливості у сфері управління та аналізу відкритих даних.
Loading