{"id":30514326,"url":"https://github.com/ankitkumar910/StudentManagementSystem","last_synced_at":"2026-04-20T04:04:55.367Z","repository":{"id":311282137,"uuid":"1039620437","full_name":"Ankitk2021/StudentManagementSystem","owner":"Ankitk2021","description":"Student Management System is a simple project to manage students' data in a college database. This project includes CRUD operations for managing student records. ","archived":false,"fork":false,"pushed_at":"2025-08-23T18:01:56.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-23T23:40:25.962Z","etag":null,"topics":["html5","junit-test","lambok","maven-pom","spring-boot","spring-data-jpa"],"latest_commit_sha":null,"homepage":"https://ankitk2021.github.io/StudentManagementSystem/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ankitk2021.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-08-17T16:21:36.000Z","updated_at":"2025-08-23T18:02:00.000Z","dependencies_parsed_at":"2025-08-23T23:40:30.047Z","dependency_job_id":"993d8aee-4f2b-456e-901c-879bc50be9d6","html_url":"https://github.com/Ankitk2021/StudentManagementSystem","commit_stats":null,"previous_names":["ankitk2021/studentmanagementsystem"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Ankitk2021/StudentManagementSystem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankitk2021%2FStudentManagementSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankitk2021%2FStudentManagementSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankitk2021%2FStudentManagementSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankitk2021%2FStudentManagementSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ankitk2021","download_url":"https://codeload.github.com/Ankitk2021/StudentManagementSystem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ankitk2021%2FStudentManagementSystem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272192633,"owners_count":24889448,"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-26T02:00:07.904Z","response_time":60,"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":["html5","junit-test","lambok","maven-pom","spring-boot","spring-data-jpa"],"created_at":"2025-08-26T07:34:08.377Z","updated_at":"2026-04-20T04:04:55.326Z","avatar_url":"https://github.com/Ankitk2021.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Student Management System 📑\n\n\u003e An app to manage students' data in a college database. This project includes **CRUD** operations (Create, Read, Update, Delete) for managing student records. It's built using **Spring Boot**, a powerful framework for creating production-grade applications.\n\n---\n\n### Prerequisites\n\nTo set up and run this project, you'll need the following:\n\n1.  **Apache Tomcat** 🐅 (embedded in Spring Boot)\n2.  **MySQL Server** 🦈 (for the database)\n3.  **IntelliJ IDEA** or **Eclipse** Editor\n4.  **Java 17** or a higher version\n5.  **Internet connection** 🛜\n\n---\n\n### Project Setup\n\nFollow these steps to get the project running on your local machine:\n\n1.  **Clone the repository:**\n    ```bash\n    git clone [https://github.com/Ankitk2021/StudentManagementSystem.git](https://github.com/Ankitk2021/StudentManagementSystem.git)\n    ```\n\n2.  **Database Configuration:**\n    * Ensure you have a database named `CollegeDB` set up in your MySQL server.\n    * Update the database credentials (username and password) in the `application.properties` file located at `src/main/resources/application.properties`.\n\n3.  **Import and Run:**\n    * Open the project in your preferred IDE (IntelliJ or Eclipse). The IDE should automatically recognize it as a Spring Boot project.\n    * Add any missing dependencies by importing the project with Maven (from the `pom.xml` file).\n    * Run the project by executing the `main` method in the main Spring Boot application class. 🏃‍♂️‍➡️\n\n---\n\n### API Endpoints\n\nOnce the project is running, the application will be accessible at `http://localhost:8080`. Here are the available API endpoints for managing student data:\n\n#### **🟢 `/students`**\n\nThis is the base endpoint for all student-related operations.\n\n1.  **`GET` Request**\n    * **Endpoint:** `/students`\n    * **Description:** Retrieves a list of all students from the database.\n    * **Response:** A JSON array of student objects.\n    * **Example JSON Object:**\n        ```json\n        {\n          \"id\": 1,\n          \"rollNo\": 56,\n          \"name\": \"Ankit\",\n          \"email\": \"ankit@email.com\",\n          \"course\": \"BTech\",\n          \"branch\": \"CSE\",\n          \"dob\": \"1878-09-12\"\n        }\n        ```\n\n2.  **`POST` Request**\n    * **Endpoint:** `/students`\n    * **Description:** Adds a new student record to the database.\n    * **Request Body:** A JSON object containing the new student's details.\n    * **Example Request Body:**\n        ```json\n        {\n          \"name\": \"Ankit\",\n          \"email\": \"ankit@email.com\",\n          \"course\": \"BTech\",\n          \"branch\": \"CSE\",\n          \"rollNo\": 56,\n          \"dob\": \"1878-09-12\"\n        }\n        ```\n\n\n3.  **`PATCH` Request**\n    * **Endpoint:** `/students/{id}`\n    * **Description:** Updates one or more specific fields of a student record without replacing the entire object.\n    * **Request Body:** A JSON object containing only the fields you wish to update.\n    * **Example:** `http://localhost:8080/students/1` to update the name and email of the student with ID `1`.\n\n4. **`DELETE` Request**\n    * **Endpoint:** `/students`\n    * **Description:** Deletes a student record from the database using their unique ID.\n    * **Example:** `http://localhost:8080/students?id=1` will delete the student with ID `1` . Other fields like ` email ` and `roll-number` can be used to pop the student from the database. \n\n---\n\n### Additional Endpoints\n\nThese endpoints provide specific search and retrieval functionality:\n\n1.  **`GET` Request: Find by Roll Number**\n    * **Endpoint:** `/students`\n    * **Description:** Finds and retrieves a single student by their unique roll number.\n    * **Example:** `http://localhost:8080/students?rollno=56`\n\n2.  **`GET` Request: Find by Name**\n    * **Endpoint:** `/students`\n    * **Description:** Searches for and retrieves all students whose name matches the provided name.\n    * **Example:** `http://localhost:8080/students?name=Ankit`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitkumar910%2FStudentManagementSystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankitkumar910%2FStudentManagementSystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankitkumar910%2FStudentManagementSystem/lists"}