{"id":49889724,"url":"https://github.com/sergiomarquezdev/personal-blog-back","last_synced_at":"2026-05-15T20:10:42.202Z","repository":{"id":253087234,"uuid":"842398997","full_name":"sergiomarquezdev/personal-blog-back","owner":"sergiomarquezdev","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-20T14:42:08.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-23T11:31:47.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/sergiomarquezdev.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-14T09:16:14.000Z","updated_at":"2024-08-23T11:31:56.380Z","dependencies_parsed_at":"2024-08-23T11:31:52.293Z","dependency_job_id":"97d83258-abab-4368-ba60-99571f0da285","html_url":"https://github.com/sergiomarquezdev/personal-blog-back","commit_stats":null,"previous_names":["marquezpsergio/personal-blog","marquezpsergio/personal-blog-back","sergiomarquezdev/personal-blog-back"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sergiomarquezdev/personal-blog-back","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiomarquezdev%2Fpersonal-blog-back","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiomarquezdev%2Fpersonal-blog-back/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiomarquezdev%2Fpersonal-blog-back/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiomarquezdev%2Fpersonal-blog-back/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergiomarquezdev","download_url":"https://codeload.github.com/sergiomarquezdev/personal-blog-back/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiomarquezdev%2Fpersonal-blog-back/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33078256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:05:40.333Z","status":"ssl_error","status_checked_at":"2026-05-15T20:05:38.672Z","response_time":103,"last_error":"SSL_read: 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":[],"created_at":"2026-05-15T20:10:41.430Z","updated_at":"2026-05-15T20:10:42.197Z","avatar_url":"https://github.com/sergiomarquezdev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Personal Blog Backend\n\nThis project is a robust backend application for a personal blog, built with Spring Boot. It provides a RESTful API for handling the creation, viewing, and interaction with blog posts.\n\n## Features\n\n- Create and retrieve blog posts\n- Search posts by title\n- View individual post details\n- Like posts\n- Comment on posts\n- Handle development and production profiles\n\n## Technologies Used\n\n- Java\n- Spring Boot\n- Spring Data JPA\n- PostgreSQL\n- Lombok\n- JUnit and Mockito for testing\n\n## Getting Started\n\n### Prerequisites\n\n- Java JDK 21\n- Maven\n- PostgreSQL\n\n### Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/your-username/personal-blog-backend.git\n   ```\n\n2. Navigate to the project directory:\n   ```\n   cd personal-blog-backend\n   ```\n\n3. Build the project:\n   ```\n   mvn clean install\n   ```\n\n### Database Configuration\n\nEnsure you have PostgreSQL installed and configured. Then, update the `application.yml` file with your database credentials:\n\n```\nyaml:src/main/resources/application.yml\n```\n\n### Running the Application\n\nRun the application using Maven:\n\n```\nmvn spring-boot:run\n```\n\nThe application will be available at `http://localhost:8080/blog`.\n\n## Project Structure\n\n- `src/main/java/dev/sergiomarquez/blog`: Contains the main source code\n  - `post`: Handles the logic related to blog posts\n  - `comment`: Handles the logic related to comments\n  - `utils`: Contains general utilities\n\n## Key Endpoints\n\n- `POST /api/posts`: Creates a new blog post\n- `GET /api/posts`: Retrieves all blog posts\n- `GET /api/posts/{postId}`: Retrieves a specific blog post\n- `PATCH /api/posts/{postId}/like`: Likes a post\n- `GET /api/posts/search/{title}`: Searches posts by title\n- `POST /api/comments/create`: Creates a new comment\n- `GET /api/comments/post/{postId}`: Retrieves comments for a specific post\n\n## Testing\n\nRun unit tests with:\n\n```\nmvn test\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the `LICENSE.md` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiomarquezdev%2Fpersonal-blog-back","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergiomarquezdev%2Fpersonal-blog-back","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiomarquezdev%2Fpersonal-blog-back/lists"}