{"id":23974727,"url":"https://github.com/deepakmali-09/spring-data-jpa-p01","last_synced_at":"2026-05-08T03:32:25.700Z","repository":{"id":269945462,"uuid":"908927802","full_name":"deepakmali-09/spring-data-jpa-p01","owner":"deepakmali-09","description":"This Spring Boot project demonstrates the use of Spring Data JPA for performing CRUD operations in a Student Management System. It leverages JpaRepository to manage student data, allowing users to perform actions like adding, retrieving, updating, and deleting students using HTTP endpoints.","archived":false,"fork":false,"pushed_at":"2024-12-27T10:16:29.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-07T05:49:00.364Z","etag":null,"topics":["crud-api","http-endpoints","java","mysql-database","restfull-api","spring-boot","spring-data-jpa","sql"],"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/deepakmali-09.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":"2024-12-27T10:08:35.000Z","updated_at":"2024-12-27T10:18:53.000Z","dependencies_parsed_at":"2024-12-27T11:19:59.609Z","dependency_job_id":"40a6e327-c000-452d-8dfc-0ba7ecc00d95","html_url":"https://github.com/deepakmali-09/spring-data-jpa-p01","commit_stats":null,"previous_names":["deepakmali-09/spring-data-jpa-p01"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakmali-09%2Fspring-data-jpa-p01","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakmali-09%2Fspring-data-jpa-p01/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakmali-09%2Fspring-data-jpa-p01/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepakmali-09%2Fspring-data-jpa-p01/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepakmali-09","download_url":"https://codeload.github.com/deepakmali-09/spring-data-jpa-p01/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240515675,"owners_count":19813895,"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":["crud-api","http-endpoints","java","mysql-database","restfull-api","spring-boot","spring-data-jpa","sql"],"created_at":"2025-01-07T05:48:57.024Z","updated_at":"2026-05-08T03:32:20.675Z","avatar_url":"https://github.com/deepakmali-09.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Data JPA Project - Student Management System  \n\nThis project demonstrates the use of **Spring Data JPA** for database operations in a **Student Management System**. It leverages the power of **JpaRepository** to perform all standard CRUD (Create, Read, Update, Delete) operations efficiently.  \n\nThe system manages student data with the following fields:  \n- **id**: Unique identifier for the student.  \n- **name**: Name of the student.  \n- **age**: Age of the student.  \n- **email**: Email address of the student.  \n\n## **Features**  \n1. Add a new student to the database.  \n2. Retrieve all students or fetch a specific student by ID.  \n3. Update student information based on their ID.  \n4. Delete student records by ID.  \n\n## **Technologies Used**  \n- **Spring Boot** for application development.  \n- **Spring Data JPA** for ORM and database interactions.  \n- **MySQL** as the database (configurable in `application.properties`).  \n- **Java** for backend logic. \n\n## **Endpoints**\n**POST /api/std/save**\n\nDescription: Adds a new student to the database.\nRequest Body:\njson\n{  \n    \"name\": \"Ravi Kumar\",  \n    \"age\": 20,  \n    \"email\": \"ravikumar@example.com\"  \n}  \nResponse: The created student object.\n\n**GET /api/std/all**\n\nDescription: Retrieves all students in the database.\nResponse: A list of all student objects.\njson\n[  \n    { \"id\": 1, \"name\": \"Ravi Kumar\", \"age\": 20, \"email\": \"ravikumar@example.com\" },  \n    { \"id\": 2, \"name\": \"Priya Sharma\", \"age\": 22, \"email\": \"priyasharma@example.com\" }  \n]  \n\n**GET /api/std/{id}**\n\nDescription: Retrieves a specific student by their ID.\nPath Variable: id - The ID of the student to retrieve.\nResponse: The student object with the specified ID.\njson\n{ \"id\": 1, \"name\": \"Ravi Kumar\", \"age\": 20, \"email\": \"ravikumar@example.com\" }  \n\n**GET /api/std**\n\nDescription: Retrieves a specific student by their ID using a query parameter.\nRequest Param: id - The ID of the student to retrieve.\nResponse: The student object with the specified ID.\njson\n{ \"id\": 1, \"name\": \"Ravi Kumar\", \"age\": 20, \"email\": \"ravikumar@example.com\" }  \n\n**PUT /api/std/{id}**\n\nDescription: Updates an existing student by ID.\nPath Variable: id - The ID of the student to update.\nRequest Body:\njson\n{  \n    \"name\": \"Ravi Updated\",  \n    \"age\": 21,  \n    \"email\": \"raviupdated@example.com\"  \n}  \nResponse: The updated student object.\n\n**DELETE /api/std/{id}**\n\nDescription: Deletes a student by their ID.\nPath Variable: id - The ID of the student to delete.\nResponse: The deleted student object (optional).\n\n**PATCH /api/std/{id}**\n\nDescription: Partially updates a student by ID.\nPath Variable: id - The ID of the student to partially update.\nRequest Body: The student fields to update (e.g., name, age, email).\nResponse: The updated student object.\n\n## **How to Run**  \n1. Clone the repository and navigate to the project directory.  \n2. Build and run the application using Maven: \n   ```bash  \n      git clone https://github.com/deepakmali-09/spring-data-jpa-p01.git \n\n4. mvn spring-boot:run  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepakmali-09%2Fspring-data-jpa-p01","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepakmali-09%2Fspring-data-jpa-p01","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepakmali-09%2Fspring-data-jpa-p01/lists"}