{"id":23244808,"url":"https://github.com/crni99/student-management-system","last_synced_at":"2025-08-12T06:15:07.689Z","repository":{"id":194738601,"uuid":"472776148","full_name":"crni99/Student-Management-System","owner":"crni99","description":"CRUD RESTFul API using Java Spring Boot, Maven, and embedded H2 database.","archived":false,"fork":false,"pushed_at":"2023-01-16T19:41:05.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T20:12:19.647Z","etag":null,"topics":["api","crud","crud-operations","database","h2-database","java","rest","rest-api","restful-api","spring"],"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/crni99.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":"2022-03-22T13:18:59.000Z","updated_at":"2022-04-15T00:05:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2889112-0aab-40a9-9745-8d7fc10388c2","html_url":"https://github.com/crni99/Student-Management-System","commit_stats":null,"previous_names":["crni99/student-management-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crni99/Student-Management-System","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crni99%2FStudent-Management-System","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crni99%2FStudent-Management-System/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crni99%2FStudent-Management-System/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crni99%2FStudent-Management-System/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crni99","download_url":"https://codeload.github.com/crni99/Student-Management-System/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crni99%2FStudent-Management-System/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270011194,"owners_count":24511902,"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","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","crud","crud-operations","database","h2-database","java","rest","rest-api","restful-api","spring"],"created_at":"2024-12-19T07:11:16.199Z","updated_at":"2025-08-12T06:15:07.657Z","avatar_url":"https://github.com/crni99.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Student Management System\n\n## Introduction\nThis project has implemented all the crud operations in a simple way with H2 embedded database, custom exceptions and tests for controller class and service class.\n\n## Features of this Project\n- Save\n- Show all\n- Find by ID\n- Find by Email\n- Find by Index number\n- Find between two dates of birth\n- Update by ID\n- Delete by ID\n- Delete by Email\n\n## Environment\n- Eclipse IDE\n- Java 11\n- Spring\n- Spring initializr\n- H2 Embedded Database\n\n## Operating Instructions\n- Download source code and import into your code editor (Eclipse, IntelliJ..).\n- The project is created with Maven, so you just need to import it to your IDE and build the project to resolve the dependencies\n- If there are no errors, run program.\n- Use [Postman](https://www.postman.com) to check app or use tests.\n\n## Testing\n### URL : http://localhost:8080/api/v1/student-ms + \n- ## POST METHOD\n- ### /add\nAdd student with this in body: \u003cbr/\u003e\n{ \u003cbr/\u003e\n    \"firstName\": \"Ognjen\", \u003cbr/\u003e\n    \"lastName\": \"Andjelic\", \u003cbr/\u003e\n    \"dateOfBirth\": \"1994-06-23\", \u003cbr/\u003e\n    \"email\": \"andjelicb.ognjen@gmail.com\", \u003cbr/\u003e\n    \"indexNumber\": 101, \u003cbr/\u003e\n    \"isOnBudget\": true / false \u003cbr/\u003e\n}\n- ## GET METHOD\n- ### /all\nList all students from DB.\n\n- ### /find/{id}\nFind student in DB by ID.\n\n- ### /email/{email}\nFind student in DB by Email.\n\n- ### /index/{index}\nFind student in DB by Index.\n\n- ### /date-of-birth\nFind students (list) between two dates of birth. \u003cbr/\u003e\nPut this as example parameters: \u003cbr/\u003e\nKEY: dob1 \u003cbr/\u003e\nVALUE: 1999-12-01 \u003cbr/\u003e\nKEY: dob2 \u003cbr/\u003e\nVALUE: 2004-10-12\n\n- ## PUT METHOD\n- ### /update/{id}\nUpdate student with ID. \u003cbr/\u003e\nAdd data in the body like saving student but you don't need to input all fields. \u003cbr/\u003e\nInput only fields that you want to change.\n\n- ## DELETE METHOD\n- ### /delete/{id}\nDelete student with ID.\n\n- ### /delete-with-email/{email}\nDelete student with Email.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrni99%2Fstudent-management-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrni99%2Fstudent-management-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrni99%2Fstudent-management-system/lists"}