{"id":15134294,"url":"https://github.com/itsindrajput/firstspringproject","last_synced_at":"2026-02-05T09:36:06.140Z","repository":{"id":243052300,"uuid":"811325075","full_name":"itsindrajput/firstSpringProject","owner":"itsindrajput","description":"A Spring Boot application demonstrating simple CRUD operations with a Student entity.","archived":false,"fork":false,"pushed_at":"2024-06-14T23:52:12.000Z","size":444,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-05T11:13:21.892Z","etag":null,"topics":["crud-operation","intellij-idea","java-8","java-framework","rest-api","spring","spring-boot","spring-modules"],"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/itsindrajput.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-06-06T11:32:11.000Z","updated_at":"2024-06-14T23:52:16.000Z","dependencies_parsed_at":"2024-06-06T13:16:10.261Z","dependency_job_id":"268fd217-d00a-4dcb-95e5-6bb18affab4a","html_url":"https://github.com/itsindrajput/firstSpringProject","commit_stats":null,"previous_names":["itsindrajput/firstspringproject"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsindrajput/firstSpringProject","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsindrajput%2FfirstSpringProject","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsindrajput%2FfirstSpringProject/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsindrajput%2FfirstSpringProject/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsindrajput%2FfirstSpringProject/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsindrajput","download_url":"https://codeload.github.com/itsindrajput/firstSpringProject/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsindrajput%2FfirstSpringProject/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264697567,"owners_count":23650955,"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-operation","intellij-idea","java-8","java-framework","rest-api","spring","spring-boot","spring-modules"],"created_at":"2024-09-26T05:04:18.069Z","updated_at":"2026-02-05T09:36:06.110Z","avatar_url":"https://github.com/itsindrajput.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot CRUD Operation\n\nThis repository contains a Spring Boot application that demonstrates simple CRUD (Create, Read, Update, Delete) operations with a `Student` entity.\n\n## Features\n\n- **Create**: Add new students to the database.\n- **Read**: Retrieve and display information about students.\n- **Update**: Modify existing student information.\n- **Delete**: Remove students from the database.\n\n## Technologies Used\n\n- Spring Boot\n- Spring Data JPA\n- Hibernate\n- MySQL\n- Lombok\n\n## Requirements\n\n- Java 17 or higher\n- Maven 3.8.1 or higher\n- MySQL 8.0 or higher\n\n## Getting Started\n\n### Project Structure\n\n```\n  firstSpringProject\n  │   ├── src\n  │   │   ├── main\n  │   │   │   ├── java\n  │   │   │   │   └── com\n  │   │   │   │       └── example\n  │   │   │   │           └── firstSpringProject\n  │   │   │   │               ├── controller\n  │   │   │   │               │   └── StudentController.java\n  │   │   │   │               ├── exception\n  │   │   │   │               │   └── ResourceNotFoundException.java\n  │   │   │   │               ├── model\n  │   │   │   │               │   └── Student.java\n  │   │   │   │               ├── repository\n  │   │   │   │               │   └── StudentRepository.java (interface)\n  │   │   │   │               ├── services\n  │   │   │   │               │   ├── StudentService.java (interface)\n  │   │   │   │               │   └── StudentServiceImpl.java\n  │   │   │   │               └── FirstSpringProjectApplication.java\n```\n\n### Clone the Repository\n\n```\n  git clone git@github.com:itsindrajput/firstSpringProject.git\n  cd spring-boot-crud-demo\n```\n\n### Configure the Database\n\nUpdate the application.properties file located in src/main/resources with your MySQL database configuration:\n\n```\n  spring.application.name=firstSpringProject\n  spring.datasource.url=jdbc:mysql://localhost:3306/studentsdb?allowPublicKeyRetrieval=true\u0026useSSL=false\u0026serverTimezone=UTC\n  spring.datasource.username=root\n  spring.datasource.password=root\n  spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect\n  spring.jpa.hibernate.ddl-auto = update\n```\n\n### Build and Run the Application\n\nUse the following Maven command to build and run the application:\n\n```\n  mvn spring-boot:run\n```\n\n### API Endpoints\n\n- POST /students: Create a new student.\n- GET /students: Retrieve a list of all students.\n- GET /students/{id}: Retrieve a specific student by ID.\n- PUT /students/{id}: Update a student's information.\n- DELETE /students/{id}: Delete a student.\n\n## Contributing\n\nContributions are welcome! Please fork the repository and create a pull request with your changes.\n\n## Blog\n\nExcited to share my blog post on CRUD operations with Spring Boot using IntelliJ IDEA Community Edition! Check it out here: 👇\n- [How to Perform CRUD Operations with Spring Boot in IntelliJ IDEA Community](https://itsindrajput.hashnode.dev/how-to-perform-crud-operations-with-spring-boot-in-intellij-idea-community)\n\n## Output/Showcase\n\n\u003cp float=\"left\"\u003e\n  \u003cimg src=\"./images/localHost.png\" width=\"49%\" height=\"310\"/\u003e\n  \u003cimg src=\"./images/postman.png\" width=\"49%\" height=\"310\" /\u003e \n\u003c/p\u003e\n\u003cp\u003e \u003cimg src=\"./images/Code.png\" /\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsindrajput%2Ffirstspringproject","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsindrajput%2Ffirstspringproject","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsindrajput%2Ffirstspringproject/lists"}