{"id":19852970,"url":"https://github.com/chandrakanthrck/blogapplication","last_synced_at":"2025-02-28T21:18:48.096Z","repository":{"id":254920260,"uuid":"847967929","full_name":"chandrakanthrck/BlogApplication","owner":"chandrakanthrck","description":"A simple Spring Boot blog application demonstrating basic CRUD operations, user authentication, and category management using RESTful APIs, Spring Data JPA, and MySQL.","archived":false,"fork":false,"pushed_at":"2024-09-06T02:23:38.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-11T13:29:47.683Z","etag":null,"topics":["crud","mysql","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/chandrakanthrck.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-26T22:21:49.000Z","updated_at":"2024-09-06T02:23:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"72e8a2ce-088f-41df-afc2-afd452682827","html_url":"https://github.com/chandrakanthrck/BlogApplication","commit_stats":null,"previous_names":["chandrakanthrck/blogapplication"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBlogApplication","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBlogApplication/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBlogApplication/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2FBlogApplication/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandrakanthrck","download_url":"https://codeload.github.com/chandrakanthrck/BlogApplication/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241241859,"owners_count":19932828,"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","mysql","rest-api","spring-boot"],"created_at":"2024-11-12T14:05:03.977Z","updated_at":"2025-02-28T21:18:48.086Z","avatar_url":"https://github.com/chandrakanthrck.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blog Application\n\n## Overview\nThe application allows users to create, read, update, and delete blog posts, and provides basic authentication for users.\n\n## Features\n- **User Management**: Register and manage users.\n- **CRUD Operations**: Create, read, update, and delete blog posts.\n- **Categories**: Manage blog categories.\n- **Authentication**: Basic user authentication and authorization.\n- **Pagination**: View posts with pagination support.\n- **Comments**: Users can comment on posts.\n\n## Technologies Used\n- **Java 17**\n- **Spring Boot**\n- **Spring Data JPA**\n- **MySQL** (or any preferred database)\n- **Hibernate**\n- **Thymeleaf** (for front-end)\n- **Maven**\n\n## Setup and Run\n\n### Prerequisites\n- Java 17+\n- Maven 3.6+\n- MySQL or other database for storing user and blog data\n\n### Clone the Repository\n```bash\ngit clone https://github.com/chandrakanthrck/BlogApplication.git\ncd BlogApplication\n```\nConfigure Database\nUpdate the database connection details in src/main/resources/application.properties:\n```properties\nspring.datasource.url=jdbc:mysql://localhost:3306/blog_db\nspring.datasource.username=root\nspring.datasource.password=your_password\n```\n### Run the Application\n```bash\nmvn spring-boot:run\n```\n\n### API Endpoints\n- **POST** `/api/auth/register` - Register a new user\n- **POST** `/api/auth/login` - Login and obtain JWT token\n- **GET** `/api/posts` - Get all blog posts\n- **GET** `/api/posts/{id}` - Get a specific post by ID\n- **POST** `/api/posts` - Create a new post\n- **PUT** `/api/posts/{id}` - Update an existing post\n- **DELETE** `/api/posts/{id}` - Delete a post\n- **GET** `/api/categories` - Get all categories\n\n### License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fblogapplication","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandrakanthrck%2Fblogapplication","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fblogapplication/lists"}