{"id":19762890,"url":"https://github.com/vitaliistf/blocktrackerweb","last_synced_at":"2026-04-06T01:34:00.178Z","repository":{"id":188046627,"uuid":"678020464","full_name":"Vitaliistf/BlockTrackerWeb","owner":"Vitaliistf","description":"Web application for cryptocurrency investments tracking.","archived":false,"fork":false,"pushed_at":"2023-08-13T12:40:22.000Z","size":2009,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T14:28:09.322Z","etag":null,"topics":["bootstrap","css","gson","html","java","javascript","jpa","jquery","kucoin-api","lombok","maven","oauth2","postgresql","spring-boot","spring-mail","spring-mvc","spring-security","thymeleaf"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vitaliistf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-13T12:29:33.000Z","updated_at":"2024-05-21T03:30:34.000Z","dependencies_parsed_at":"2023-08-13T14:09:00.318Z","dependency_job_id":null,"html_url":"https://github.com/Vitaliistf/BlockTrackerWeb","commit_stats":null,"previous_names":["vitaliistf/blocktrackerweb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vitaliistf/BlockTrackerWeb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaliistf%2FBlockTrackerWeb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaliistf%2FBlockTrackerWeb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaliistf%2FBlockTrackerWeb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaliistf%2FBlockTrackerWeb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vitaliistf","download_url":"https://codeload.github.com/Vitaliistf/BlockTrackerWeb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitaliistf%2FBlockTrackerWeb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31456660,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","css","gson","html","java","javascript","jpa","jquery","kucoin-api","lombok","maven","oauth2","postgresql","spring-boot","spring-mail","spring-mvc","spring-security","thymeleaf"],"created_at":"2024-11-12T04:07:25.087Z","updated_at":"2026-04-06T01:34:00.163Z","avatar_url":"https://github.com/Vitaliistf.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![wide-logo.jpg](img%2Fwide-logo.jpg)\n# BlockTrackerWeb Application\n\n\u003e This repository contains my \"BlockTracker\" project. The application is designed to track cryptocurrency investments.\n\n## Table of Contents\n\n- [Functionalities](#functionalities)\n- [Technologies Used](#technologies-used)\n- [DB Diagram](#db-diagram)\n- [UML Diagram](#uml-diagram)\n- [Project Structure](#project-structure)\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n\n## Functionalities\n\nThe application is using both SSR(Server-side rendering), CSR(Client-side rendering) and supports the following \nfunctionalities:\n\n### Backend\n\n- Registering and authenticating users using credentials or OAuth2 Google auth.\n- Validating request information.\n- Mailing service for registering confirmation.\n- Handling exceptions and serving error messages.\n- Editing and serving web-pages with static information.\n- CRUD operations for portfolios, transactions, coins and watchlist items following REST style.\n- Working with KuCoin API to get actual information on cryptocurrencies.\n\n### Frontend\n\n- Display a watchlist(actual information on added cryptocurrencies) and ability to add/remove items.\n- Display a list of all portfolios and the ability to add/remove/edit them.\n- Display a list of all coins in portfolio and the ability to add them through transactions or remove them.\n- Display a list of all transactions on chosen cryptocurrency and add/remove/edit them.\n- Display errors responses from server.\n\n### How SSR and CSR are combined?\n\n- Pages with static data are generated from templates and fragments using Thymeleaf.\n- Controllers serving those pages to client together with JS code.\n- JS code is running on client, perform API requests to server.\n- API controllers will handle those requests. \n- JS code fill pages with up-to-date dynamic information.\n\n## Technologies Used\n\nThe application utilizes the following technologies:\n\n### Backend:\n\n- Java 11\n- Maven\n- Lombok\n- Spring Boot\n- Spring MVC\n- Spring Security\n- Spring JavaMail\n- Thymeleaf\n- JPA\n- PostgreSQL\n- OAuth2 (Google auth)\n- Google Gson\n- KuCoin API\n\n### Frontend:\n\n- HTML\n- CSS\n- JavaScript\n- Bootstrap\n- JQuery\n\n## DB Diagram\n\n![DB.png](img%2FDB.png)\n### Relations: \n- portfolio - usr: many to one.\n- confirmation_token - usr: one to one.\n- watchlist_item - usr: many to one.\n- coin - portfolio: many to one.\n- transaction - coin: many to one.\n\n## UML Diagram\n\n![UML.png](img%2FUML.png)\n\u003e Note: Portfolio class contains list of coin only for cascading deletion using JPA. For the same reason, \n\u003e coin contains list of transactions.\n\n## Project Structure\n\nThe project implements following basic architecture:\n\n- **Backend**:\n    - Controllers: Handle incoming HTTP requests.\n    - Services: Implement business logic.\n    - Repositories: Manage database interactions.\n\n- **Frontend**: Communicate with the backend, displaying information.\n\n## Getting Started\n\n1. Clone the repository.\n2. Prepare database.\n3. Set up the database configuration in `application.properties`.\n4. Obtain your OAuth2 credentials [here](https://console.cloud.google.com/apis/dashboard).\n5. Get your e-mail credentials. (host, port, username, password)\n6. Get your KuCoin API credentials [here](https://www.kucoin.com/api). \n7. Fill in all fields in `application.properties`.\n8. Build and run the Spring Boot application.\n\n## Usage\n\n- Access the application by navigating to http://localhost:8080 in your web browser.\n- Explore all the functionalities as described.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaliistf%2Fblocktrackerweb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitaliistf%2Fblocktrackerweb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitaliistf%2Fblocktrackerweb/lists"}