diff --git a/7project/report.md b/7project/report.md index 167e24d..5f96798 100644 --- a/7project/report.md +++ b/7project/report.md @@ -47,6 +47,13 @@ flowchart TB svc <-- HTTP request/response --> api[("UniRate API")] client <-- HTTP request/response --> n2 ``` +The workflow works in the following way: + +- Client connects to the frontend. After login, frontend automatically fetches the stored transactions from + the database via the backend API and currency rates from UniRate API. +- When the client opts for fetching new transactions via the Bank API, cron will trigger periodic fetching + using background worker. +- After successful load, these transactions are stored to the database and displayed to the client ### Database Schema @@ -102,14 +109,6 @@ classDiagram transaction --> user: user_id -> id ``` -The workflow works in the following way: - -- Client connects to the frontend. After login, frontend automatically fetches the stored transactions from - the database via the backend API and currency rates from UniRate API. -- When the client opts for fetching new transactions via the Bank API, cron will trigger periodic fetching - using background worker. -- After successful load, these transactions are stored to the database and displayed to the client - ### Features - The stored transactions are encrypted in the DB for security reasons. @@ -235,7 +234,7 @@ You can run the project with Docker Compose and Python virtual environment for t ```bash git clone https://github.com/dat515-2025/Group-8.git -cd Group-8/7project +cd Group-8/7project/src ``` ### 2) Install dependencies @@ -299,7 +298,7 @@ App is separated into backend and frontend so it also needs to be built separate and frontend is deployed as static files. ```bash -cd 7project/backend +cd 7project/src/backend # Dont forget to set correct image tag with your registry and name # For example lukastrkan/cc-app-demo or gitea.ltrk.dev/lukas/cc-app-demo docker buildx build --platform linux/amd64,linux/arm64 -t CHANGE_ME --push .