{"id":19552831,"url":"https://github.com/coswat/todo-api","last_synced_at":"2025-04-26T20:31:52.218Z","repository":{"id":65602767,"uuid":"595264358","full_name":"coswat/todo-api","owner":"coswat","description":"Laravel todo api using sanctum ( login / logout + CRUD)","archived":false,"fork":false,"pushed_at":"2023-02-13T22:37:43.000Z","size":98,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T17:51:48.998Z","etag":null,"topics":["api","laravel","open-source","todo-api-php","token-based-authentication"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/coswat.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":"2023-01-30T18:24:33.000Z","updated_at":"2023-10-22T19:32:47.000Z","dependencies_parsed_at":"2023-02-16T11:31:05.358Z","dependency_job_id":null,"html_url":"https://github.com/coswat/todo-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coswat%2Ftodo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coswat%2Ftodo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coswat%2Ftodo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coswat%2Ftodo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coswat","download_url":"https://codeload.github.com/coswat/todo-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251051455,"owners_count":21528787,"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":["api","laravel","open-source","todo-api-php","token-based-authentication"],"created_at":"2024-11-11T04:19:51.212Z","updated_at":"2025-04-26T20:31:51.510Z","avatar_url":"https://github.com/coswat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Todo Api With Authentication\n simple todo api with authentication using Laravel framework, if you find any issues or bugs you can report to us\n## Usage \u003cbr\u003e\nSetup the repository \u003cbr\u003e\n```\ngit clone https://github.com/coswat/todo-api.git\ncd todo-api\ncomposer install\ncp .env.example .env \nphp artisan key:generate\nphp artisan cache:clear \u0026\u0026 php artisan config:clear \nphp artisan serve \n```\n\n## Database Setup \u003cbr\u003e\n```\nmysql;\ncreate database laravel-todo;\nexit;\n```\n\n\n### Setup your database credentials in the ```.env``` file \u003cbr\u003e\n```\nDB_CONNECTION=mysql\nDB_HOST=127.0.0.1\nDB_PORT=3306\nDB_DATABASE=laravel-todo\nDB_USERNAME={USERNAME}\nDB_PASSWORD={PASSWORD}\n```\n\n### Sanctum\nBefore you can use Laravel Sanctum, you obviously need to make sure that you install it through Composer. Besides that, you should upblish the Sanctum configuration file as well.\n```\ncomposer require laravel/sanctum\nphp artisan vendor:publish --provider=\"Laravel\\Sanctum\\SanctumServiceProvider\"\n```\n\n### Migrate tables\n```\nphp artisan migrate\n```\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/coswat/todo-api#coswat\"\u003e\u003cimg src=\"http://randojs.com/images/barsSmallTransparentBackground.gif\" alt=\"Animated footer bars\" width=\"100%\"/\u003e\u003c/a\u003e\u003c/p\u003e\n\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\u003ca href=\"https://github.com/coswat/todo-api#\"\u003e\u003cimg src=\"http://randojs.com/images/backToTopButtonTransparentBackground.png\" alt=\"Back to top\" height=\"29\"/\u003e\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoswat%2Ftodo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoswat%2Ftodo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoswat%2Ftodo-api/lists"}