{"id":18487758,"url":"https://github.com/andrecastelo/example-api","last_synced_at":"2025-04-08T20:31:53.077Z","repository":{"id":149299326,"uuid":"86774127","full_name":"andrecastelo/example-api","owner":"andrecastelo","description":"Very simple API using Laravel","archived":false,"fork":false,"pushed_at":"2018-05-30T11:04:56.000Z","size":231,"stargazers_count":134,"open_issues_count":2,"forks_count":77,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-06T13:00:09.639Z","etag":null,"topics":["laravel","php"],"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/andrecastelo.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-03-31T03:29:04.000Z","updated_at":"2024-02-22T10:39:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfcfa174-c9a1-403b-9f57-3a0ba04cf9af","html_url":"https://github.com/andrecastelo/example-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/andrecastelo%2Fexample-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrecastelo%2Fexample-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrecastelo%2Fexample-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrecastelo%2Fexample-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrecastelo","download_url":"https://codeload.github.com/andrecastelo/example-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247923122,"owners_count":21018933,"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","php"],"created_at":"2024-11-06T12:50:46.730Z","updated_at":"2025-04-08T20:31:53.054Z","avatar_url":"https://github.com/andrecastelo.png","language":"PHP","readme":"## Example Laravel API\n\n This is a sample project to show how you could write an API using Laravel 5. You can follow the tutorial online at https://www.toptal.com/laravel/restful-laravel-api-tutorial\n\n There will be some minor differences, specially regarding downloaded packages, as I used the\n excellent [Laravel Ide Helper](https://github.com/barryvdh/laravel-ide-helper) to setup\n PhpStorm bindings and other features.\n\n## Running the API\n\nIt's very simple to get the API up and running. First, create the database (and database\nuser if necessary) and add them to the `.env` file.\n\n```\nDB_DATABASE=your_db_name\nDB_USERNAME=your_db_user\nDB_PASSWORD=your_password\n```\n\nThen install, migrate, seed, all that jazz:\n\n1. `composer install`\n2. `php artisan migrate`\n3. `php artisan db:seed`\n4. `php artisan serve`\n\nThe API will be running on `localhost:8000`.\n","funding_links":[],"categories":["PHP"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrecastelo%2Fexample-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrecastelo%2Fexample-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrecastelo%2Fexample-api/lists"}