{"id":21585446,"url":"https://github.com/sandundil2002/springboot_crud","last_synced_at":"2026-02-19T17:02:28.222Z","repository":{"id":252990145,"uuid":"840707031","full_name":"sandundil2002/Springboot_CRUD","owner":"sandundil2002","description":"Simple crud operations(Create, Read, Update, Delete) using springboot","archived":false,"fork":false,"pushed_at":"2024-08-13T18:11:19.000Z","size":766,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T22:02:51.634Z","etag":null,"topics":["ajax","css","html","java","javascript","jpa-hibernate","jquery","mysql-database","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/sandundil2002.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-08-10T12:45:35.000Z","updated_at":"2024-09-10T05:44:22.000Z","dependencies_parsed_at":"2024-08-13T21:29:26.780Z","dependency_job_id":null,"html_url":"https://github.com/sandundil2002/Springboot_CRUD","commit_stats":null,"previous_names":["sandundil2002/springboot_crud"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sandundil2002/Springboot_CRUD","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandundil2002%2FSpringboot_CRUD","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandundil2002%2FSpringboot_CRUD/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandundil2002%2FSpringboot_CRUD/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandundil2002%2FSpringboot_CRUD/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sandundil2002","download_url":"https://codeload.github.com/sandundil2002/Springboot_CRUD/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sandundil2002%2FSpringboot_CRUD/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29623546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T13:04:20.082Z","status":"ssl_error","status_checked_at":"2026-02-19T13:03:33.775Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ajax","css","html","java","javascript","jpa-hibernate","jquery","mysql-database","spring-boot"],"created_at":"2024-11-24T15:10:42.992Z","updated_at":"2026-02-19T17:02:23.214Z","avatar_url":"https://github.com/sandundil2002.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://git.io/typing-svg\"\u003e\u003cimg src=\"https://readme-typing-svg.herokuapp.com?font=Fira+Code\u0026weight=600\u0026size=50\u0026pause=1000\u0026center=true\u0026vCenter=true\u0026width=835\u0026height=70\u0026lines=Spring+Boot+CRUD\" alt=\"Typing SVG\" /\u003e\u003c/a\u003e\n\n## \n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://i.ibb.co/sQqsbP4/image.png\" alt=\"project-image\"\u003e\u003c/p\u003e\n\nThis is a Spring Boot project that demonstrates basic CRUD (Create, Read, Update, Delete) operations with a RESTful API. The project is built using Spring Boot, Spring Data JPA, and a MySQL database (or any other database as per your configuration).\n\n\n## Features\n\n- Create: Add new records to the database.\n- Read: Fetch single or multiple records.\n- Update: Modify existing records.\n- Delete: Remove records from the database.\n- Cross-Origin Resource Sharing (CORS) enabled for frontend communication.\n\n\n## Tech Stack\n\n**Java 17:** The programming language used for the backend.\n\n**Spring Boot:**  For creating the RESTful API.\n\n**Spring Data JPA:** For interacting with the database.\n\n**MySQL:** The database used for storing data (configurable).\n\n**Maven:** For managing project dependencies.\n\n\n\n## Installation\n\nClone the repository:\n\n```bash\nhttps://github.com/sandundil2002/Springboot_CRUD.git\ncd Springboot_CRUD\n```\n\nConfigure the Database:\n\n```bash\nspring.datasource.url=jdbc:mysql://localhost:3306/your_database_name\nspring.datasource.username=your_username\nspring.datasource.password=your_password\nspring.jpa.hibernate.ddl-auto=update\n```\n\nBuild \u0026 Run the project:\n\n```bash\nmvn clean install\nmvn spring-boot:run\n```\n\nThe application will start on http://localhost:8080.\n## API Reference\n\n#### Get all blogs\n\n```http\nGET \"/blog/getAllBlog\"\n```\n\n#### Get a blog\n\n```http\nGET \"/blog/getBlog?id=1\"\n```\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `int` | **Required**. Id of blog to fetch |\n\n#### Add new blog\n\n```http\nPOST \"/blog/saveBlog\"\n\n{\n    \"title\": \"Main\",\n    \"content\": \"Test\"\n}\n```\n\n#### Update a blog\n\n```http\nPUT \"/blog/updateBlog\"\n\n{\n    \"title\": \"Main\",\n    \"content\": \"Updated\"\n}\n```\n\n#### Delete a blog\n\n```http\nDELETE \"/blog/deleteBlog?id=1\"\n```\n\n\n| Parameter | Type     | Description                       |\n| :-------- | :------- | :-------------------------------- |\n| `id`      | `int` | **Required**. Id of blog to delete |\n\n\n## Contributing\n\nContributions are always welcome!\n\nPlease submit a pull request or open an issue to discuss your ideas.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandundil2002%2Fspringboot_crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsandundil2002%2Fspringboot_crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsandundil2002%2Fspringboot_crud/lists"}