{"id":14974467,"url":"https://github.com/eliyas5044/laravel-api","last_synced_at":"2025-10-27T09:30:30.213Z","repository":{"id":16336962,"uuid":"78629076","full_name":"eliyas5044/laravel-api","owner":"eliyas5044","description":"This is a simple RESTful api where laravel version is 6","archived":false,"fork":false,"pushed_at":"2023-03-02T06:32:22.000Z","size":1510,"stargazers_count":33,"open_issues_count":26,"forks_count":13,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-30T07:30:25.282Z","etag":null,"topics":["laravel","laravel-api","laravel5","laravel57","laravel6","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eliyas5044.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":"2017-01-11T10:40:19.000Z","updated_at":"2022-08-23T13:40:51.000Z","dependencies_parsed_at":"2024-09-14T18:27:25.067Z","dependency_job_id":"31bd41a8-6fd6-4c12-a17e-9b7521dd7e1c","html_url":"https://github.com/eliyas5044/laravel-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/eliyas5044%2Flaravel-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliyas5044%2Flaravel-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliyas5044%2Flaravel-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliyas5044%2Flaravel-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliyas5044","download_url":"https://codeload.github.com/eliyas5044/laravel-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238471956,"owners_count":19478134,"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":["laravel","laravel-api","laravel5","laravel57","laravel6","restful-api"],"created_at":"2024-09-24T13:50:36.347Z","updated_at":"2025-10-27T09:30:28.925Z","avatar_url":"https://github.com/eliyas5044.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://res.cloudinary.com/dtfbvvkyp/image/upload/v1566331377/laravel-logolockup-cmyk-red.svg\" width=\"400\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://travis-ci.org/laravel/framework\"\u003e\u003cimg src=\"https://travis-ci.org/laravel/framework.svg\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://poser.pugx.org/laravel/framework/d/total.svg\" alt=\"Total Downloads\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://poser.pugx.org/laravel/framework/v/stable.svg\" alt=\"Latest Stable Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://packagist.org/packages/laravel/framework\"\u003e\u003cimg src=\"https://poser.pugx.org/laravel/framework/license.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# laravel-api\n- First clone via `git bash` or download it. It is a RESTful api, you will find `angular` app [angular-laravel](https://github.com/eliyas5044/angular-laravel) .\n\n- Create your database with name `laravel_api`, you may change later.\n\n- After creating database, run this command in your terminal\n```\nmake init\n```\n\n- Run this command to live your RESTful api\n```\nphp artisan serve\n```\n\n- You can check via [postman](https://www.getpostman.com/apps). All books routes are protected by `auth:api` middleware, so you have to register or login to navigate those uri's.\n\n## All end points\n### user routes\n1. `http://localhost:8000/api/register`\n2. `http://localhost:8000/api/login`\n3. `http://localhost:8000/api/logout`\n4. `http://localhost:8000/api/me`\n5. `http://localhost:8000/api/refresh`\n\n### book routes\n1. Method `GET`, `URI` - `http://localhost:8000/api/book`\n2. Method `POST`, `URI` - `http://localhost:8000/api/book`\n3. Method `PUT`, `URI` - `http://localhost:8000/api/book/{id}`\n4. Method `DELETE`, `URI` - `http://localhost:8000/api/book/{id}`\n\n- Clone or download [angular](https://github.com/eliyas5044/angular-laravel) and run this app. You will see data will load from this server to your `angluar` app.\n\n## Enjoy !\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliyas5044%2Flaravel-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliyas5044%2Flaravel-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliyas5044%2Flaravel-api/lists"}