{"id":14987277,"url":"https://github.com/moemoe89/simple-codeigniter-rest-api","last_synced_at":"2025-04-11T23:23:20.130Z","repository":{"id":102325529,"uuid":"48633059","full_name":"moemoe89/simple-codeigniter-rest-api","owner":"moemoe89","description":"🔥 Simple PHP code using Codeigniter framework for building Rest API","archived":false,"fork":false,"pushed_at":"2023-05-07T02:04:01.000Z","size":1447,"stargazers_count":67,"open_issues_count":4,"forks_count":64,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-25T19:14:44.231Z","etag":null,"topics":["codeigniter","php","rest-api"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/moemoe89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license.txt","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":"2015-12-27T04:39:46.000Z","updated_at":"2025-02-04T15:01:40.000Z","dependencies_parsed_at":"2023-07-11T10:46:14.172Z","dependency_job_id":null,"html_url":"https://github.com/moemoe89/simple-codeigniter-rest-api","commit_stats":{"total_commits":15,"total_committers":3,"mean_commits":5.0,"dds":"0.33333333333333337","last_synced_commit":"35c70ac6ee493ed288e53019e211e1f63fbab4c2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-codeigniter-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-codeigniter-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-codeigniter-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moemoe89%2Fsimple-codeigniter-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moemoe89","download_url":"https://codeload.github.com/moemoe89/simple-codeigniter-rest-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248493506,"owners_count":21113273,"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":["codeigniter","php","rest-api"],"created_at":"2024-09-24T14:14:22.208Z","updated_at":"2025-04-11T23:23:20.106Z","avatar_url":"https://github.com/moemoe89.png","language":"HTML","readme":"# Simple Codeigniter REST API\nSimple source code for learning basic backend developer using REST API (login, CRUD).\n\n# Demo\n[Visit Here](https://www.youtube.com/watch?v=MbkMrnisyo4)\n\n# Setup\nDownload or clone [Master File](simple-codeigniter-rest-api)\nand then config \u0026 import MySQL database \n\nYou can use [POSTMAN](https://www.getpostman.com/) or anything else for simulate frontend\n\n# Test the API\nYou can test the API by including header `Content-Type`,`Client-Service` \u0026 `Auth-Key` with value `application/json`,`frontend-client` \u0026 `simplerestapi` in every request\n\nAnd for API except `login` you must include `id` \u0026 `token` that you get after successfully login. The header for both look like this `User-ID` \u0026 `Authorization`\n\nList of the API :\n\n`[POST]` `/auth/login` json `{ \"username\" : \"admin\", \"password\" : \"Admin123$\"}`\n\n`[GET]` `/book`\n\n`[POST]` `/book/create` json `{ \"title\" : \"x\", \"author\" : \"xx\"}`\n\n`[PUT]` `/book/update/:id` json `{ \"title\" : \"y\", \"author\" : \"yy\"}`\n\n`[GET]` `/book/detail/:id`\n\n`[DELETE]` `/book/delete/:id`\n\n`[POST]` `/auth/logout`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoemoe89%2Fsimple-codeigniter-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoemoe89%2Fsimple-codeigniter-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoemoe89%2Fsimple-codeigniter-rest-api/lists"}