{"id":28496310,"url":"https://github.com/kfeuerschvenger/task-manager-api","last_synced_at":"2026-05-16T22:02:39.172Z","repository":{"id":295954268,"uuid":"991797579","full_name":"kfeuerschvenger/task-manager-api","owner":"kfeuerschvenger","description":"RESTful API designed to manage tasks in a collaborative environment","archived":false,"fork":false,"pushed_at":"2025-05-28T07:17:38.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-10T14:23:59.337Z","etag":null,"topics":["go","postgres","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/kfeuerschvenger.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,"zenodo":null}},"created_at":"2025-05-28T06:59:33.000Z","updated_at":"2025-05-28T07:17:41.000Z","dependencies_parsed_at":"2025-05-28T08:37:47.976Z","dependency_job_id":null,"html_url":"https://github.com/kfeuerschvenger/task-manager-api","commit_stats":null,"previous_names":["kfeuerschvenger/task-manager-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kfeuerschvenger/task-manager-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfeuerschvenger%2Ftask-manager-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfeuerschvenger%2Ftask-manager-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfeuerschvenger%2Ftask-manager-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfeuerschvenger%2Ftask-manager-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kfeuerschvenger","download_url":"https://codeload.github.com/kfeuerschvenger/task-manager-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kfeuerschvenger%2Ftask-manager-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33120450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T18:38:32.183Z","status":"ssl_error","status_checked_at":"2026-05-16T18:38:29.903Z","response_time":115,"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":["go","postgres","rest-api"],"created_at":"2025-06-08T12:07:16.937Z","updated_at":"2026-05-16T22:02:39.157Z","avatar_url":"https://github.com/kfeuerschvenger.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collaborative Task Management API\n\nThis project is a RESTful API designed to manage tasks in a collaborative environment. Built with Go and PostgreSQL, it follows clean architecture principles and is fully containerized with Docker.\n\n## Technologies Used\n\n| Backend                                                                                                                                                                                                                                                                                                      | Database                                                                                                                                                               | DevOps                                                                                                                                                     | Tools                                                                                                                                                         |\n| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| \u003cimg width=\"50\" src=\"https://raw.githubusercontent.com/marwin1991/profile-technology-icons/refs/heads/main/icons/go.png\" alt=\"Go\" title=\"Go\"/\u003e \u003cimg width=\"50\" src=\"https://raw.githubusercontent.com/marwin1991/profile-technology-icons/refs/heads/main/icons/swagger.png\" alt=\"Swagger\" title=\"Swagger\"/\u003e | \u003cimg width=\"50\" src=\"https://raw.githubusercontent.com/marwin1991/profile-technology-icons/refs/heads/main/icons/postgresql.png\" alt=\"PostgreSQL\" title=\"PostgreSQL\"/\u003e | \u003cimg width=\"50\" src=\"https://raw.githubusercontent.com/marwin1991/profile-technology-icons/refs/heads/main/icons/docker.png\" alt=\"Docker\" title=\"Docker\"/\u003e | \u003cimg width=\"50\" src=\"https://raw.githubusercontent.com/marwin1991/profile-technology-icons/refs/heads/main/icons/postman.png\" alt=\"Postman\" title=\"Postman\"/\u003e |\n\n## Features\n\n- User registration and login with JWT authentication.\n- Task management with creation, update, and filtering.\n- Tasks can be created for oneself or assigned to other users.\n- Protected routes requiring authentication.\n- PostgreSQL database with migrations.\n- Dockerized environment for easy setup.\n\n## Project Structure\n\n```\ntask-manager-api\n├── cmd\n│   └── main.go\n├── controllers\n│   ├── auth_controller.go\n│   ├── healthcheck_controller.go\n│   └── task_controller.go\n├── database\n│   ├── db.go\n│   ├── migrations\n│   │   ├── 000001_enable_uuid_ossp.down.sql\n│   │   ├── 000001_enable_uuid_ossp.up.sql\n│   │   ├── 000002_create_users_table.down.sql\n│   │   ├── 000002_create_users_table.up.sql\n│   │   ├── 000003_create_tasks_table.down.sql\n│   │   └── 000003_create_tasks_table.up.sql\n│   └── migrations.go\n├── docs\n│   ├── docs.go\n│   ├── swagger.json\n│   └── swagger.yaml\n├── dto\n│   ├── auth.go\n│   ├── error.go\n│   └── task.go\n├── errors\n│   ├── auth.go\n│   ├── errors.go\n│   └── validation.go\n├── middleware\n│   └── auth.go\n├── models\n│   ├── task.go\n│   └── user.go\n├── routes\n│   └── routes.go\n├── services\n│   ├── auth_service.go\n│   └── task_service.go\n├── tests\n│   ├── auth_test.go\n│   ├── task_test.go\n│   └── utils_test.go\n├── utils\n│   ├── bcrypt.go\n│   ├── email.go\n│   ├── jwt.go\n│   └── response.go\n├── validators\n│   └── auth.go\n├── .env\n├── .env.example\n├── .gitignore\n├── docker-compose-test.yml\n├── docker-compose.yml\n├── Dockerfile\n├── go.mod\n├── go.sum\n└── README.md\n```\n\n## Setup Instructions\n\n1. Copy the example environment variables file:\n\n   ```sh\n   cp .env.example .env\n   ```\n\n2. Build and run all services using Docker Compose:\n\n   ```sh\n   docker-compose up -d --build\n   ```\n\n3. The API will be available at `http://localhost:8080` (or the configured port).\n\n4. Database migrations will run automatically on startup.\n\n## Runing Tests\n\nTo run the unit and integration tests, use the following command:\n\n```sh\ndocker compose -f docker-compose-test.yml up --abort-on-container-exit test\n```\n\nmake sure the .env file is properly configured for the test environment.\n\n## API Endpoints\n\n### Authentication\n\n- **Register:** `POST /auth/register`\n- **Login:** `POST /auth/login`\n\n### Task Management (requires authentication)\n\n- **Create Task:** `POST /tasks`\n- **List Tasks:** `GET /tasks?status=\u0026priority=`\n- **Get one Task:** `GET /tasks/:id`\n- **Update Task:** `PUT /tasks/:id`\n- **Delete Task:** `DELETE /tasks/:id`\n\n### Documentation\n\n- **Navigate to:** `http://localhost:8080/documentation/index.html`\n\n### Health Check\n\n- **Ping:** `GET /ping`\n\n## Environment Variables\n\nSee `.env.example` for the list of required environment variables.\n\n## Notes\n\n- Only the task creator can update a task.\n- Passwords are securely stored using bcrypt.\n- JWT tokens are required for all protected routes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfeuerschvenger%2Ftask-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkfeuerschvenger%2Ftask-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkfeuerschvenger%2Ftask-manager-api/lists"}