{"id":26610912,"url":"https://github.com/gitarber/task-manager-api","last_synced_at":"2026-04-10T15:03:02.886Z","repository":{"id":284062523,"uuid":"953695238","full_name":"gitarber/task-manager-api","owner":"gitarber","description":"   A RESTful API built with Node.js/Express for managing tasks. Features include user authentication, CRUD operations for tasks, SQLite database, and Swagger documentation.","archived":false,"fork":false,"pushed_at":"2025-03-23T23:28:10.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T00:27:00.133Z","etag":null,"topics":["express","jwt-authentication","nodejs","rest-api","sqlite","swagger-ui","task-management"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/gitarber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2025-03-23T23:19:03.000Z","updated_at":"2025-03-23T23:28:13.000Z","dependencies_parsed_at":"2025-03-24T00:27:13.132Z","dependency_job_id":"ca99cd85-85be-42d2-8980-8eba3c489289","html_url":"https://github.com/gitarber/task-manager-api","commit_stats":null,"previous_names":["gitarber/task-manager-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitarber%2Ftask-manager-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitarber%2Ftask-manager-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitarber%2Ftask-manager-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitarber%2Ftask-manager-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitarber","download_url":"https://codeload.github.com/gitarber/task-manager-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245196678,"owners_count":20576074,"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":["express","jwt-authentication","nodejs","rest-api","sqlite","swagger-ui","task-management"],"created_at":"2025-03-24T02:24:10.044Z","updated_at":"2025-12-30T20:35:43.765Z","avatar_url":"https://github.com/gitarber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task Manager API\n\nA RESTful API for a task manager where users can create, update, delete, and retrieve tasks.\n\n## Features\n\n- User Authentication (Sign up \u0026 Login)\n- Create Tasks (Add a new task with title, description, status)\n- View Tasks (Get a list of all tasks or a single task)\n- Update Tasks (Change task details)\n- Delete Tasks (Remove a task)\n- API Documentation with Swagger\n\n## Tech Stack\n\n- Backend: Node.js with Express.js\n- Database: SQLite\n- Authentication: JWT (JSON Web Tokens)\n- API Documentation: Swagger UI\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v14 or above)\n- npm (v6 or above)\n\n### Installation\n\n1. Clone this repository\n```bash\ngit clone \u003crepository-url\u003e\ncd task-manager-api\n```\n\n2. Install dependencies\n```bash\nnpm install\n```\n\n3. Configure environment variables\nCreate a `.env` file in the root directory and add:\n```\nPORT=3000\nJWT_SECRET=your_jwt_secret_key\nNODE_ENV=development\n```\n\n4. Start the development server\n```bash\nnpm run dev\n```\n\nThe server will start at `http://localhost:3000`\n\n## API Documentation\n\nOnce the server is running, you can access the Swagger documentation at:\n```\nhttp://localhost:3000/api-docs\n```\n\n## API Endpoints\n\n### User Routes\n- `POST /api/users/register` - Register a new user\n- `POST /api/users/login` - Login a user\n- `GET /api/users/me` - Get current user details\n\n### Task Routes\n- `GET /api/tasks` - Get all tasks for current user\n- `GET /api/tasks/:id` - Get a specific task\n- `POST /api/tasks` - Create a new task\n- `PUT /api/tasks/:id` - Update a task\n- `DELETE /api/tasks/:id` - Delete a task\n\n## Testing\n\nYou can use Postman or any API client to test the endpoints. Make sure to include the JWT token in the Authorization header for protected routes:\n\n```\nAuthorization: Bearer \u003cyour_jwt_token\u003e\n``` ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitarber%2Ftask-manager-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitarber%2Ftask-manager-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitarber%2Ftask-manager-api/lists"}