{"id":18567782,"url":"https://github.com/aswassaw/ci4-auth-jwt","last_synced_at":"2026-05-15T01:04:21.472Z","repository":{"id":112925686,"uuid":"397939788","full_name":"Aswassaw/ci4-auth-jwt","owner":"Aswassaw","description":"Aplikasi Restful dengan CodeIgniter 4. Studi kasus Authentication dan Authorization dengan JWT.","archived":false,"fork":false,"pushed_at":"2021-08-19T12:59:33.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-16T15:09:41.591Z","etag":null,"topics":["authentication","authorization","codeigniter4","jsonwebtoken","restful-api"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/Aswassaw.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":"2021-08-19T12:43:52.000Z","updated_at":"2021-12-06T01:57:39.000Z","dependencies_parsed_at":"2023-09-21T06:32:41.229Z","dependency_job_id":null,"html_url":"https://github.com/Aswassaw/ci4-auth-jwt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aswassaw/ci4-auth-jwt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aswassaw%2Fci4-auth-jwt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aswassaw%2Fci4-auth-jwt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aswassaw%2Fci4-auth-jwt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aswassaw%2Fci4-auth-jwt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aswassaw","download_url":"https://codeload.github.com/Aswassaw/ci4-auth-jwt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aswassaw%2Fci4-auth-jwt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017784,"owners_count":26086145,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","codeigniter4","jsonwebtoken","restful-api"],"created_at":"2024-11-06T22:27:45.498Z","updated_at":"2025-10-14T03:46:00.272Z","avatar_url":"https://github.com/Aswassaw.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CI4 Auth JWT\nAplikasi Restful dengan CodeIgniter 4. Studi kasus Authentication dan Authorization dengan JWT.\n\n## Cara instalasi:\n- Clone repo ini.\n- Jalankan `composer install`.\n- Konfigurasi env lalu jalankan `php spark migrate`.\n- Jalankan `php spark serve`, server akan berjalan di `http://localhost:8080`.\n\n## Endpoint yang tersedia:\n- Register\n  - Endpoint: http://localhost:8080/register\n  - Body: email (required, string), password (required, string), password_confirm (required, string).\n  - Desc: Endpoint untuk melakukan register.\n\n- Login\n  - Endpoint: http://localhost:8080/login\n  - Body: email (required, string), password (required, string).\n  - Desc: Endpoint untuk melakukan login. Pada langkah ini akan mendapatkan JWT token.\n\n- Me\n  - Endpoint: http://localhost:8080/me\n  - Header: Authorization (JWT token yang didapatkan dari login).\n  - Desc: Endpoint untuk mendapatkan data user.\n\nHasil belajar dari tutorial: https://youtu.be/lPHp2cbO6d0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faswassaw%2Fci4-auth-jwt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faswassaw%2Fci4-auth-jwt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faswassaw%2Fci4-auth-jwt/lists"}