{"id":20127963,"url":"https://github.com/aamirxshaikh/spring-boot-blog-rest-api","last_synced_at":"2026-05-13T02:34:28.393Z","repository":{"id":156262715,"uuid":"487938102","full_name":"aamirxshaikh/spring-boot-blog-rest-api","owner":"aamirxshaikh","description":"This repository features a REST API for a Spring Boot-based blog, with endpoints for creating, updating, and retrieving blog posts and users. With clear documentation and organized code, it's a valuable resource for developers looking to learn about REST API development using Spring Boot.","archived":false,"fork":false,"pushed_at":"2023-03-07T16:27:32.000Z","size":131,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T21:27:17.430Z","etag":null,"topics":["hibernate","java","jwt","rest-api","spring-boot"],"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/aamirxshaikh.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":"2022-05-02T17:49:28.000Z","updated_at":"2023-03-03T18:18:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"09826403-de12-4d7a-900e-3dfc01d42314","html_url":"https://github.com/aamirxshaikh/spring-boot-blog-rest-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aamirxshaikh/spring-boot-blog-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamirxshaikh%2Fspring-boot-blog-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamirxshaikh%2Fspring-boot-blog-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamirxshaikh%2Fspring-boot-blog-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamirxshaikh%2Fspring-boot-blog-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aamirxshaikh","download_url":"https://codeload.github.com/aamirxshaikh/spring-boot-blog-rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aamirxshaikh%2Fspring-boot-blog-rest-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32965455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-12T23:30:32.555Z","status":"online","status_checked_at":"2026-05-13T02:00:07.132Z","response_time":115,"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":["hibernate","java","jwt","rest-api","spring-boot"],"created_at":"2024-11-13T20:24:51.298Z","updated_at":"2026-05-13T02:34:28.374Z","avatar_url":"https://github.com/aamirxshaikh.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot Blog REST API\n\nThis repository contains a REST API for a blog built using Spring Boot. With endpoints for creating, updating, and retrieving blog posts and users, and organized code and clear documentation, it's a useful resource for developers looking to learn about REST API development with Spring Boot.\n\n# Table of Contents\n\n- [Endpoints](#endpoints)\n    - [Auth](#auth)\n    - [Post](#post)\n    - [Comment](#comment)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [License](#license)\n\n# Endpoints\n\nThis REST API provides the following endpoints:\n\n## Auth\n\n1. ### Signin\n\n    This endpoint is used to authenticate users by allowing them to sign in using their email and password.\n    \n    `POST /api/v1/auth/signin`\n\n2. ### Signup\n\n    This endpoint is used to register new users by allowing them to sign up with their email and password.\n    \n    `/api/v1/auth/signup`\n\n## Post\n\n1. ### Get all Posts\n\n    This endpoint is used to retrieve a list of all posts.\n    \n    `GET /api/v1/posts`\n\n2. ### Get Post by Id\n\n    This endpoint is used to retrieve a specific post by its ID.\n    \n    `GET /api/api/posts/{postId}`\n\n3. ### Create a Post\n\n    This endpoint is used to create new post.\n    \n    `POST /api/v1/posts`\n\n4. ### Update a Post\n\n    This endpoint is used to update a specific post by its ID.\n    \n    `PUT /api/v1/posts/{postId}`\n\n5. ### Delete a Post\n\n    This endpoint is used to delete a specific post by its ID.\n    \n    `DELETE /api/v1/posts/{postId}`\n\n## Comment\n\n1. ### Get Comments by PostId\n\n    This endpoint is used to retrieve all comments for a specific post.\n    \n    `GET /api/v1/posts/{postId}/comments`\n\n2. ### Get Comment by PostId\n\n    This endpoint is used to retrieve a specific comment for a specific post.\n    \n    `GET /api/v1/posts/{postId}/comments/{commentId}`\n\n3. ### Create a Comment\n\n    This endpoint is used to create a new comment for a specific post.\n    \n    `POST /api/v1/posts/{postId}/comments`\n\n4. ### Update a Comment\n\n    This endpoint is used to update a specific comment for a specific post.\n    \n    `PUT /api/v1/posts/{postId}/comments/{commentId}`\n\n5. ### Delete a Comment\n\n    This endpoint is used to delete a specific comment for a specific post.\n    \n    `DELETE /api/v1/posts/{postId}/comments/{commentId}`\n\n# Installation\n\n1. To run the projects, you'll need to have Java installed on your machine. You can download Java from the [official website](https://www.java.com/en/download/).\n\n2. Install an Integrated Development Environment (IDE) such as IntelliJ  or Visual Studio Code.\n\n   - To install IntelliJ IDEA, follow the instructions on the [official website](https://www.jetbrains.com/idea/download/)\n\n   - To install Visual Studio Code, follow the instructions on the [official website](https://code.visualstudio.com/Download).\n\n# Usage\n\nTo run the application, please follow these steps:\n\n1. Clone the repository using the following command:\n\n   `git clone https://github.com/aamirxshaikh/spring-boot-blog-rest-api.git`\n\n2. Navigate into the project directory using the following command:\n\n   `cd spring-boot-blog-rest-api`\n\n3. You can simply run the project in the IntelliJ IDEA by clicking the \"run\" icon or you can run the application using the following command:\n\n   `mvn spring-boot:run`\n\n4. After the application is running, you can interact with the API by making HTTP requests to the endpoints listed above using tools like curl or Postman.\n\n# Contributing\n\nFeel free to contribute to this repository by improving the existing codebase or adding new features. Simply fork the repository, make your changes, and create a pull request. I'll be happy to review and merge your changes.\n\n# License\n\nThis repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamirxshaikh%2Fspring-boot-blog-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faamirxshaikh%2Fspring-boot-blog-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faamirxshaikh%2Fspring-boot-blog-rest-api/lists"}