{"id":26128952,"url":"https://github.com/su1uv/GinTasker","last_synced_at":"2026-04-25T22:01:11.206Z","repository":{"id":250028044,"uuid":"833258264","full_name":"su1uv/GinTasker","owner":"su1uv","description":"Simple TODO List API","archived":false,"fork":false,"pushed_at":"2024-07-25T18:48:57.000Z","size":8144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-24T09:48:48.258Z","etag":null,"topics":["api","api-rest","gin-framework","golang","mysql-database"],"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/su1uv.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-07-24T17:05:45.000Z","updated_at":"2024-07-30T19:40:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc712bb3-e4c3-4bce-8926-a2bddc4dc439","html_url":"https://github.com/su1uv/GinTasker","commit_stats":null,"previous_names":["emilioddev/gintasker","su1uv/gintasker"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/su1uv/GinTasker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/su1uv%2FGinTasker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/su1uv%2FGinTasker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/su1uv%2FGinTasker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/su1uv%2FGinTasker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/su1uv","download_url":"https://codeload.github.com/su1uv/GinTasker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/su1uv%2FGinTasker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32278249,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"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":["api","api-rest","gin-framework","golang","mysql-database"],"created_at":"2025-03-10T19:29:32.121Z","updated_at":"2026-04-25T22:01:11.200Z","avatar_url":"https://github.com/su1uv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GinTasker\n\nGinTasker is a simple Todo List API built using Go, Gin, GORM, and Viper. This API allows users to manage their tasks efficiently with basic CRUD operations: **Create**, **Read**, **Update**, and **Delete**. It's designed as a lightweight and straightforward solution for task management.\n\n## Features\n\n- **Task Management**: Create, view, update, and delete tasks.\n- **Built with Go**: Utilizes Go's robust features for building scalable and fast applications.\n- **Frameworks and Libraries**: Incorporate Gin for routing, GORM for ORM, and Viper for configuration management.\n- **No User Authorization**: Focused on core functionality without authentication.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [API Endpoints](#api-endpoints)\n- [License](#license)\n\n## Installation\n\nTo set up GinTasker on your local machine, follow these steps:\n\n1. **Clone the repository**:\n```bash\ngit clone https://github.com/EmiliodDev/GinTasker\ncd GinTasker\n```\n\n2. **Install dependencies**:\n```bash\ngo mod tidy\n```\n\n3. **Configure the application**:\n\n    Create a `config.yaml` file:\n```yaml\nappname: GinTasker\nport: \"8080\"\n\ndb:\n  host: localhost\n  port: \"3306\"\n  user: youruser\n  password: yourpassword\n  name: yourdbname\n```\n\n4. **Run the application**:\n```bash\nmake run\n```\n\n5. **Access the API**:\n\n    The API will be available at `http://localhost:8080`.\n\n## Usage\n\nYou can interact with the API using tools like [Postman](https://www.postman.com/) or [cURL](https://curl.se/). Here are some example requests:\n\n- **List all tasks**:\n    ```bash\n    curl http://localhost:8080/api/v1/tasks\n    ```\n\n- **Get task by ID**:\n    ```bash\n    curl http://localhost:8080/api/v1/task/{id}\n    ```\n\n- **Create a new task**:\n    ```bash\n    curl -X POST http://localhost:8080/api/v1/create -H \"Content-Type: application/json\" -d '{\"name\": \"New Task\", \"description\": \"Complete the assignment.\", \"completed\": false}'\n    ```\n\n- **Update task**:\n    ```bash\n    curl -X PUT http://localhost:8080/api/v1/update/{id} -H \"Content-Type: application/json\" -d '{\"name\": \"Updated Task\", \"description\": \"Update the assignment.\", \"completed\": true}'\n    ```\n\n- **Delete task**:\n    ```bash\n    curl -X DELETE http://localhost:8080/api/v1/delete/{id}\n    ```\n\n## API Endpoints\n\n| Method |\tEndpoint         |\tDescription          |\n|--------|-------------------|-----------------------|\n| GET\t |/api/v1/tasks      |Get all tasks          |\n| GET\t |/api/v1/task/{id}  |Get a specific task    |\n| POST\t |/api/v1/create\t |Create a new task      |\n| PUT\t |/api/v1/update/{id}|Update a specific task |\n| DELETE |/api/v1/delete/{id}|Delete a specific task |\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsu1uv%2FGinTasker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsu1uv%2FGinTasker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsu1uv%2FGinTasker/lists"}