{"id":24396773,"url":"https://github.com/richardfelic/foro-hub","last_synced_at":"2026-04-13T10:32:27.095Z","repository":{"id":272777335,"uuid":"881091616","full_name":"RichardFelic/foro-hub","owner":"RichardFelic","description":"Forum management application built with Spring Boot 3.4.1 and Java 21. Includes topic, response, and user management with JWT-based authentication and OpenAPI documentation.","archived":false,"fork":false,"pushed_at":"2025-01-16T14:43:22.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-29T05:50:47.188Z","etag":null,"topics":["auth0","flyway","java","lombok","postgresql","spring-boot","swagger"],"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/RichardFelic.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-10-30T22:33:42.000Z","updated_at":"2025-04-19T03:59:49.000Z","dependencies_parsed_at":"2025-01-16T15:59:31.210Z","dependency_job_id":"dfa590f3-eaff-4841-915e-361711936408","html_url":"https://github.com/RichardFelic/foro-hub","commit_stats":null,"previous_names":["richardfelic/foro-hub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RichardFelic/foro-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardFelic%2Fforo-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardFelic%2Fforo-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardFelic%2Fforo-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardFelic%2Fforo-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RichardFelic","download_url":"https://codeload.github.com/RichardFelic/foro-hub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RichardFelic%2Fforo-hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"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":["auth0","flyway","java","lombok","postgresql","spring-boot","swagger"],"created_at":"2025-01-19T21:58:05.420Z","updated_at":"2026-04-13T10:32:27.070Z","avatar_url":"https://github.com/RichardFelic.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Foro Hub - API REST\n\n![Badge-Spring](https://github.com/user-attachments/assets/6be9d3d2-dae7-464e-9fc3-365d13fcdcc0)\n\n---\n\n## Project Description\n\nForo Hub is an application designed to manage online forums, facilitating user interaction through topics and responses. The project was developed using **Spring Boot 3.4.1** and **Java 21**, leveraging the latest features and enhancements of these technologies.\n\n### Key Features:\n\n- **Topic Management:** Create, edit, delete, and list topics.\n- **Response Management:** Add and manage responses associated with topics.\n- **User Management:** Administer users and their interactions with topics and responses.\n- **Authentication and Authorization:** Implemented security with Spring Security and JWT.\n- **API Documentation:** Automatically generated with Springdoc OpenAPI.\n\n---\n\n## Project Requirements\n\n### Main Dependencies:\n\n```xml\n\u003cdependencies\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-mail\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-security\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-data-jpa\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-validation\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springframework.boot\u003c/groupId\u003e\n        \u003cartifactId\u003espring-boot-starter-web\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.flywaydb\u003c/groupId\u003e\n        \u003cartifactId\u003eflyway-core\u003c/artifactId\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.postgresql\u003c/groupId\u003e\n        \u003cartifactId\u003epostgresql\u003c/artifactId\u003e\n        \u003cscope\u003eruntime\u003c/scope\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.projectlombok\u003c/groupId\u003e\n        \u003cartifactId\u003elombok\u003c/artifactId\u003e\n        \u003coptional\u003etrue\u003c/optional\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003ecom.auth0\u003c/groupId\u003e\n        \u003cartifactId\u003ejava-jwt\u003c/artifactId\u003e\n        \u003cversion\u003e4.4.0\u003c/version\u003e\n    \u003c/dependency\u003e\n    \u003cdependency\u003e\n        \u003cgroupId\u003eorg.springdoc\u003c/groupId\u003e\n        \u003cartifactId\u003espringdoc-openapi-starter-webmvc-ui\u003c/artifactId\u003e\n        \u003cversion\u003e2.7.0\u003c/version\u003e\n    \u003c/dependency\u003e\n\u003c/dependencies\u003e\n```\n\n---\n\n## API Endpoints\n\n### **Admin**\n\n#### User Controller\n\n- `GET /api/v1/user/{id}`: Get a user by ID.\n- `PUT /api/v1/user/{id}`: Update a user.\n- `DELETE /api/v1/user/{id}`: Delete a user.\n- `PUT /api/v1/user/activate/{id}`: Activate a user.\n- `GET /api/v1/user`: List all users.\n- `POST /api/v1/user`: Create a new user.\n\n#### Topic Controller\n\n- `GET /api/v1/topic/{id}`: Get a topic by ID.\n- `PUT /api/v1/topic/{id}`: Update a topic.\n- `DELETE /api/v1/topic/{id}`: Delete a topic.\n- `PUT /api/v1/topic/activate/{id}`: Activate a topic.\n- `GET /api/v1/topic`: List all topics.\n- `POST /api/v1/topic`: Create a new topic.\n\n#### Response Controller\n\n- `GET /api/v1/response/{id}`: Get a response by ID.\n- `PUT /api/v1/response/{id}`: Update a response.\n- `DELETE /api/v1/response/{id}`: Delete a response.\n- `PUT /api/v1/response/active/{id}`: Activate a response.\n- `GET /api/v1/response`: List all responses.\n- `POST /api/v1/response`: Create a new response.\n\n### **User (Public)**\n\n#### Public Topic Controller\n\n- `GET /api/v1/public/topic/{id}`: View a topic by ID.\n- `PUT /api/v1/public/topic/{id}`: Update a topic.\n- `DELETE /api/v1/public/topic/{id}`: Delete a topic.\n- `GET /api/v1/public/topic`: List all topics.\n- `POST /api/v1/public/topic`: Create a new topic.\n\n#### Public Response Controller\n\n- `GET /api/v1/public/response/{id}`: View a response by ID.\n- `PUT /api/v1/public/response/{id}`: Update a response.\n- `DELETE /api/v1/public/response/{id}`: Delete a response.\n- `GET /api/v1/public/response`: List all responses.\n- `POST /api/v1/public/response`: Create a new response.\n\n#### Public User Controller\n\n- `GET /api/v1/public/user`: List public users.\n- `GET /api/v1/public/user/{id}`: Get details of a public user.\n\n### **Authentication**\n\n#### Auth Controller\n\n- `POST /api/v1/auth/register`: Register a user.\n- `POST /api/v1/auth/refresh`: Refresh a JWT token.\n- `POST /api/v1/auth/logout`: Log out.\n- `POST /api/v1/auth/login`: Log in.\n\n---\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone \u003cREPOSITORY_URL\u003e\n   ```\n2. Configure the database in the `application.properties` or `application.yml` file.\n3. Run migrations using Flyway.\n4. Start the application:\n   ```bash\n   ./mvnw spring-boot:run\n   ```\n\n---\n\n## Contributions\n\nContributions are welcome. If you want to contribute, please open an issue or a pull request.\n\n---\n\n## Contact\n\nFor more information, you can reach us at [felricharde42@gmail.com](mailto:felricharde42@gmail.com).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardfelic%2Fforo-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frichardfelic%2Fforo-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frichardfelic%2Fforo-hub/lists"}