{"id":29287481,"url":"https://github.com/enkaypeter/student-management-services","last_synced_at":"2026-05-15T22:40:22.871Z","repository":{"id":287950013,"uuid":"966326695","full_name":"enkaypeter/student-management-services","owner":"enkaypeter","description":"Student Management Services Repository","archived":false,"fork":false,"pushed_at":"2025-05-23T18:10:53.000Z","size":998,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-31T12:31:47.463Z","etag":null,"topics":["docker","flask","microservices","spring-boot"],"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/enkaypeter.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-14T18:49:54.000Z","updated_at":"2025-06-13T11:35:57.000Z","dependencies_parsed_at":"2025-05-08T17:21:23.427Z","dependency_job_id":"1f368405-ea7e-4972-af79-2df083822b86","html_url":"https://github.com/enkaypeter/student-management-services","commit_stats":null,"previous_names":["enkaypeter/sesc_mircoservices","enkaypeter/sesc_microservices"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/enkaypeter/student-management-services","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkaypeter%2Fstudent-management-services","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkaypeter%2Fstudent-management-services/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkaypeter%2Fstudent-management-services/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkaypeter%2Fstudent-management-services/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enkaypeter","download_url":"https://codeload.github.com/enkaypeter/student-management-services/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enkaypeter%2Fstudent-management-services/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33082203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["docker","flask","microservices","spring-boot"],"created_at":"2025-07-06T01:35:27.234Z","updated_at":"2026-05-15T22:40:22.838Z","avatar_url":"https://github.com/enkaypeter.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎓 Student Management Services\n\nThis repository contains a suite of backend services for managing student-related activities in an academic context, implemented as part of an Msc course assessment. \n\n\u003e ⚡ Note: This is a **multi-service repository**. Each service lives in its own directory.\n\n---\n\n## 🚀 Services\n\n| Service Directory  | Description                                                                                | Technology                                                                                  |\n| ------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------- |\n| `student_service/` | Authentication (JWT), Student profiles, Courses listing, Enrolment, Graduation eligibility | Java 21, Spring Boot 3.3.x, Spring Security, Spring Data JPA, PostgreSQL 14, Flyway, Docker |\n| `finance_service/` | Invoice creation, status tracking, payments                                                | Java 17, Spring Boot, Spring Data JPA, MariaDB 10.6, Docker                                 |\n| `library_service/` | Library account creation, book returns, fines                                   | Python 3.7, Flask, MariaDB 10.6, Docker                                                     |\n\n---\n\n## 📦 Infrastructure\n![network_infra_diagram](https://res.cloudinary.com/dc9klxnmy/image/upload/v1746725502/net_infra_diagram_d8uqab.png)\n\nWe orchestrate all services and shared infrastructure using two `docker compose` files:\n\n* **Infra stack**: `docker-compose/docker-compose.infra.yml`\n\n  * Postgres (Student DB)\n  * MariaDB (Finance DB)\n  * MariaDB (Library DB)\n  * RabbitMQ (*Pub/Sub)\n  * Consul (Service Discovery)\n  * Traefik (Proxy)\n\n* **App stack**: `docker-compose/docker-compose.app.yml`\n\n  * API Gateway (Spring Cloud Gateway)\n  * Student Service **[student-service]**\n  * Finance Service **[finance-service]**\n  * Library Service **[library-service]**\n\n\u003e All compose services share the `sesc_infra_net` and `sesc_app_net` networks.\n\n### Prerequisites\n\n* Docker \u0026 Docker Compose (v2+)\n* Java 21 (for student-service)\n* Python 3.7+ (for library-service development)\n\n---\n\n## 🛠️ Local Setup\n\n1. **Clone and navigate**\n\n   ```bash\n   git clone https://github.com/enkaypeter/sesc_microservices.git\n   ```\n\n2. **Build Entire Stack**\n\n   ```bash\n   make build\n   ```\n\n3. **Start Infrastructure**\n\n   ```bash\n   make infra\n   ```\n\n4. **Start Application Services**\n\n    ```bash\n    make app\n   ```\n\n5. **Verify**\n\n   * student-service API: [http://localhost:8090/swagger-ui/index.html](http://localhost:8090/swagger-ui/index.html)\n   * finance-service API: [http://localhost:8081](http://localhost:8081)\n   * library-service API: [http://localhost:8082](http://localhost:8082)\n\n5. **Shutdown**\n\n   ```bash\n   make down-v\n   ```\n\n---\n\n\n## 📚 Next Steps\n\n* [ ] **Event-Driven Enhancements:**\n\n  * Publish `StudentCreatedEvent` and `InvoiceCreatedEvent` via RabbitMQ.\n  * Implement subscribers in Finance and Library for consistency.\n\n\n* [ ] **Observability \u0026 Resilience:**\n  * Expose Prometheus metrics and add Grafana dashboards.\n  * Enable distributed tracing with OpenTelemetry.\n\n* [ ] **CI/CD \u0026 Deployment:**\n\n  * Add GitHub Actions (or equivalent) to build, test, and push Docker images.\n\n\n* [ ] **Developer Experience \u0026 Front-End:**\n\n  * Add a front-end that consumes the Student API.\n  * Improve local dev with a `Makefile` or `bash` script to spin up all services.\n\n---\n\n## 📄 License\n\n*This project is part of an MSc Course Assessment and not intended for production use without further enhancements.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenkaypeter%2Fstudent-management-services","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenkaypeter%2Fstudent-management-services","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenkaypeter%2Fstudent-management-services/lists"}