{"id":17678464,"url":"https://github.com/devdrops/laravel_api","last_synced_at":"2025-03-30T18:14:06.718Z","repository":{"id":27461629,"uuid":"30940638","full_name":"devdrops/laravel_api","owner":"devdrops","description":"Estudo sobre API REST com Laravel. Com base no screencast https://www.youtube.com/watch?v=u6a1G7LpWFU","archived":false,"fork":false,"pushed_at":"2015-02-17T22:19:50.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T20:30:54.492Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"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/devdrops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-17T22:13:38.000Z","updated_at":"2015-04-17T03:07:09.000Z","dependencies_parsed_at":"2022-09-02T07:50:50.232Z","dependency_job_id":null,"html_url":"https://github.com/devdrops/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/devdrops%2Flaravel_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdrops%2Flaravel_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdrops%2Flaravel_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devdrops%2Flaravel_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devdrops","download_url":"https://codeload.github.com/devdrops/laravel_api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358323,"owners_count":20764366,"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":[],"created_at":"2024-10-24T08:04:56.413Z","updated_at":"2025-03-30T18:14:06.696Z","avatar_url":"https://github.com/devdrops.png","language":"PHP","readme":"# API REST com Laravel 4.2\nEstudo sobre API REST com Laravel. Com base no screencast [API REST com Laravel](https://www.youtube.com/watch?v=u6a1G7LpWFU) \nScreencast criado por [Fábio Vedovelli](https://twitter.com/vedovelli)\n# Configuração das tabelas no bando de dados\nCom o terminal vá até a pasta raiz do projeto e utilize o comando:\n```console\nphp artisan migrate\n``` \nCom este comando ele irá criar as tabelas migrate e users no se banco de dados (o banco de dados deve estar previamente criado).\n#Rotas da api\nAcesso a todos os usuários (GET)\n```console\nhttp://laravel_api.dev/api/user\n``` \nRetorno de um usuário (GET)\n```console\nhttp://laravel_api.dev/api/user/1\n``` \nCadastro de usuário (POST)\n```console\nhttp://laravel_api.dev/api/user\n``` \nUpdate de usuário (PUT)\n```console\nhttp://laravel_api.dev/api/user/1\n``` \nDelete de usuário (DELETE)\n```console\nhttp://laravel_api.dev/api/user/1\n``` \nEm caso de 404\n```console\nhttp://laravel_api.dev/docs\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdrops%2Flaravel_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevdrops%2Flaravel_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevdrops%2Flaravel_api/lists"}