{"id":21044457,"url":"https://github.com/adorsys-gis/task-manger-auth","last_synced_at":"2026-01-28T13:33:49.653Z","repository":{"id":261376337,"uuid":"866579712","full_name":"ADORSYS-GIS/task-manger-auth","owner":"ADORSYS-GIS","description":"A Spring Boot Task Management Application with integrated JWT authentication and role-based authorization. Securely manage tasks while enabling user login and registration with customizable access control.","archived":false,"fork":false,"pushed_at":"2024-11-08T11:56:13.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T04:34:05.532Z","etag":null,"topics":["authentication","authorization","spring-security","swagger-ui"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ADORSYS-GIS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-02T14:11:49.000Z","updated_at":"2024-11-08T11:52:31.000Z","dependencies_parsed_at":"2024-11-08T12:36:46.495Z","dependency_job_id":null,"html_url":"https://github.com/ADORSYS-GIS/task-manger-auth","commit_stats":null,"previous_names":["nkwatambe/task-manger-auth","adorsys-gis/task-manger-auth"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ADORSYS-GIS/task-manger-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADORSYS-GIS%2Ftask-manger-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADORSYS-GIS%2Ftask-manger-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADORSYS-GIS%2Ftask-manger-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADORSYS-GIS%2Ftask-manger-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ADORSYS-GIS","download_url":"https://codeload.github.com/ADORSYS-GIS/task-manger-auth/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ADORSYS-GIS%2Ftask-manger-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846052,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"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":["authentication","authorization","spring-security","swagger-ui"],"created_at":"2024-11-19T14:16:56.757Z","updated_at":"2026-01-28T13:33:49.638Z","avatar_url":"https://github.com/ADORSYS-GIS.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Manager Auth\n\nA comprehensive Spring Boot-based Task Management Application that supports full CRUD operations for tasks, integrated with JWT authentication and role-based authorization for secure user management. The application also features a fully interactive Swagger UI for API documentation and testing.\n\n## Features\n\n- **CRUD Operations**: Create, read, update, and delete tasks.\n- **User Authentication \u0026 Authorization**: Secure login and registration using Spring Security and JWT tokens.\n- **Role-Based Access Control**: Restrict task management operations based on user roles (Admin/User).\n- **Swagger API Documentation**: Full Swagger integration to interact with and explore the API.\n- **Custom Error Handling**: Manage errors with customized responses for API calls.\n  \n## Technologies Used\n\n- **Java 17**\n- **Spring Boot 3**\n  - Spring Data JPA\n  - Spring Security\n  - JWT (JSON Web Token)\n- **Maven**: Dependency management and build automation.\n- **H2 Database**: In-memory database for development/testing purposes.\n- **Swagger UI**: API documentation and testing interface.\n  \n## Getting Started\n\n### Prerequisites\n\nBefore running the application, ensure you have the following installed on your machine:\n\n- [JDK 17](https://www.oracle.com/java/technologies/javase-jdk17-downloads.html)\n- [Maven](https://maven.apache.org/install.html)\n- [Git](https://git-scm.com/)\n\n### Installation\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/yourusername/task-manager-auth.git\n   cd task-manager-auth\n\n2. **Build the application**:\n\n   ```bash\n   mvn clean install\n\n\n3. **Run the application**:\n\n   ```bash\n   mvn spring-boot:run\n\n4. **Access Swagger UI**:\n\n   Once the application is running, visit the Swagger UI to explore and test the API endpoints:\n\n**Swagger UI:** http://localhost:9090/swagger-ui.html\n**API Documentation:** http://localhost:9090/v3/api-docs\n\n\n   \n\n# Usage\n### Swagger API Documentation\nThe application comes with an integrated Swagger UI, allowing you to explore and test the available endpoints interactively. Visit the Swagger UI at http://localhost:9090/swagger-ui.html.\n\n**Authentication \u0026 Authorization**\nThe application uses JWT tokens for authentication and authorization. Here's how the authentication flow works:\n\n1. Register: A user can register with the /auth/register endpoint.\n\n2. Login: Use the /auth/login endpoint to receive a JWT token.\n\n3. Access Protected Endpoints: Use the JWT token in the Authorization header (Bearer \u003ctoken\u003e) to access protected endpoints, such as creating or managing tasks.\n\n## Task Management\n### The following operations are supported:\n\nCreate a Task: (POST) /tasks\nView All Tasks: (GET) /tasks\nView a Task by ID: (GET) /tasks/{id}\nUpdate a Task: (PUT) /tasks/{id}\nDelete a Task: (DELETE) /tasks/{id}\n**Note: Task management endpoints are protected, and users will need a valid JWT token to perform any operations.**\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadorsys-gis%2Ftask-manger-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadorsys-gis%2Ftask-manger-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadorsys-gis%2Ftask-manger-auth/lists"}