{"id":26615949,"url":"https://github.com/serban-petrescu/spring-training-workshop","last_synced_at":"2025-04-10T05:36:17.228Z","repository":{"id":79819709,"uuid":"114915756","full_name":"serban-petrescu/spring-training-workshop","owner":"serban-petrescu","description":"Hands-on workshop: simple school application","archived":false,"fork":false,"pushed_at":"2019-02-08T07:36:02.000Z","size":43,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T06:53:12.988Z","etag":null,"topics":["flyway","hystrix","java","odata","postgresql","spring-boot"],"latest_commit_sha":null,"homepage":null,"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/serban-petrescu.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}},"created_at":"2017-12-20T17:55:37.000Z","updated_at":"2019-02-27T10:53:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b7f8995-0cf6-483f-aaf2-51a08c3bd9a0","html_url":"https://github.com/serban-petrescu/spring-training-workshop","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serban-petrescu%2Fspring-training-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serban-petrescu%2Fspring-training-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serban-petrescu%2Fspring-training-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serban-petrescu%2Fspring-training-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serban-petrescu","download_url":"https://codeload.github.com/serban-petrescu/spring-training-workshop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248164329,"owners_count":21058126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["flyway","hystrix","java","odata","postgresql","spring-boot"],"created_at":"2025-03-24T06:46:16.347Z","updated_at":"2025-04-10T05:36:17.211Z","avatar_url":"https://github.com/serban-petrescu.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Training Workshop: School\nA very simple school application developed during a hands-on workship for the Spring Training.\n\n## Setup\nAfter cloning the project, a Docker container for the database must be fired up or alternatively, a local PostgreSQL instance may be used (which requires adjusting the `application.yaml` file). For setting up the docker container, a docker-compose file is already part of the repository, so you must only run a `docker-compose up` command to get the database up and running.\n\n## APIs\nThis application must expose REST, OData V2 and OData V4 APIs for accessing the business logic.\n\nAll these API may be tested with Postman: \n\n[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/f76548833d56bd190e97)\n\n## Business Specification\nA small application that can be used by a professor to keep track of individual grades the students from the groups that he is teaching. \n\nA group is described by: \n - Study year (e.g. 1, 2, 3, etc.),\n - Group name (e.g. `30041`),\n - Specialization (e.g. `Automation`).\n\nEach group can have multiple students, each described by:\n - Unique student number (e.g. `123-12-12`),\n - Full name (e.g. `Serban Petrescu`).\n\nEach student may have several grades, each described by:\n - Score, integer on a scale from 1 to 10,\n - Date.\n\nThe following processes must be supported by the system:\n1. At the start of the year, the teacher wants to be able to add new groups.\n2. He wants to import Excels obtained from the secretary containing all students of a group\n3. During the course of the year, he wants to add individual marks to students.\n4. During each laboratory, he wants to select a random subset of students to check their homework.\n5. After the laboratory exam, he should be able to import grades for a whole group at once.\n6. At the end of the year, he should be able to get the final grade for each student:\n   * Arithmetic average between all the grades of the given student.\n   * If the student has less than 2 grades, he should be marked as “failed” (he did not pass the course in this semester).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserban-petrescu%2Fspring-training-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserban-petrescu%2Fspring-training-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserban-petrescu%2Fspring-training-workshop/lists"}