Building REST APIs with Laravel Orion 라는 글이 오늘 나와서 찾아보니
Laravel Orion이라는 프로젝트가 있네요. https://tailflow.github.io/laravel-orion-docs/
몇줄만 추가하면 되는 이 미친 Relationship(관계)
그누보드에 릴레이션을 넣을 수 있을까?
[code]
| Domain | Method | URI | Name | Action | Middleware |
+--------+-----------+-------------------------------------------------+----------------------------------------+---------------------------------------------------------------------------+-------------------------------------------------+
| | GET|HEAD | api/posts | api.posts.index | App\Http\Controllers\Api\PostsController@index | api |
| | POST | api/posts/search | api.posts.search | App\Http\Controllers\Api\PostsController@index | api |
| | POST | api/posts | api.posts.store | App\Http\Controllers\Api\PostsController@store | api |
| | GET|HEAD | api/posts/{post} | api.posts.show | App\Http\Controllers\Api\PostsController@show | api |
| | PUT|PATCH | api/posts/{post} | api.posts.update | App\Http\Controllers\Api\PostsController@update | api |
| | DELETE | api/posts/{post} | api.posts.destroy | App\Http\Controllers\Api\PostsController@destroy | api |
| | POST | api/posts/{post}/restore | api.posts.restore | App\Http\Controllers\Api\PostsController@restore | api |
| | POST | api/posts/batch | api.posts.batchStore | App\Http\Controllers\Api\PostsController@batchStore | api |
| | PATCH | api/posts/batch | api.posts.batchUpdate | App\Http\Controllers\Api\PostsController@batchUpdate | api |
| | DELETE | api/posts/batch | api.posts.batchDestroy | App\Http\Controllers\Api\PostsController@batchDestroy | api |
| | POST | api/posts/batch/restore | api.posts.batchRestore | App\Http\Controllers\Api\PostsController@batchRestore | api |
| | GET|HEAD | api/posts/{post}/tags | api.posts.relation.tags.index | App\Http\Controllers\Api\PostTagsController@index | api |
| | POST | api/posts/{post}/tags/search | api.posts.relation.tags.search | App\Http\Controllers\Api\PostTagsController@index | api |
| | POST | api/posts/{post}/tags | api.posts.relation.tags.store | App\Http\Controllers\Api\PostTagsController@store | api |
| | GET|HEAD | api/posts/{post}/tags/{tag} | api.posts.relation.tags.show | App\Http\Controllers\Api\PostTagsController@show | api |
| | PUT|PATCH | api/posts/{post}/tags/{tag} | api.posts.relation.tags.update | App\Http\Controllers\Api\PostTagsController@update | api |
| | DELETE | api/posts/{post}/tags/{tag} | api.posts.relation.tags.destroy | App\Http\Controllers\Api\PostTagsController@destroy | api |
| | POST | api/posts/{post}/tags/batch | api.posts.relation.tags.batchStore | App\Http\Controllers\Api\PostTagsController@batchStore | api |
| | PATCH | api/posts/{post}/tags/batch | api.posts.relation.tags.batchUpdate | App\Http\Controllers\Api\PostTagsController@batchUpdate | api |
| | DELETE | api/posts/{post}/tags/batch | api.posts.relation.tags.batchDestroy | App\Http\Controllers\Api\PostTagsController@batchDestroy | api |
| | POST | api/posts/{post}/tags/attach | api.posts.relation.tags.attach | App\Http\Controllers\Api\PostTagsController@attach | api |
| | DELETE | api/posts/{post}/tags/detach | api.posts.relation.tags.detach | App\Http\Controllers\Api\PostTagsController@detach | api |
| | PATCH | api/posts/{post}/tags/sync | api.posts.relation.tags.sync | App\Http\Controllers\Api\PostTagsController@sync | api |
| | PATCH | api/posts/{post}/tags/toggle | api.posts.relation.tags.toggle | App\Http\Controllers\Api\PostTagsController@toggle | api |
| | PATCH | api/posts/{post}/tags/{tag}/pivot | api.posts.relation.tags.pivot
[/code]
게시글 목록
| 번호 | 제목 |
|---|---|
| 160 |
라라벨
구글 스타일 search
|
| 157 | |
| 156 |
라라벨
라라벨 Socialite
2
|
| 155 | |
| 154 | |
| 153 |
라라벨
Laravel 과 Pusher
|
| 152 | |
| 151 |
라라벨
이메일로 인증하기..
|
| 150 | |
| 149 | |
| 148 |
라라벨
Multi Auth 인증
|
| 147 | |
| 146 |
라라벨
OctoberCMS
|
| 140 | |
| 134 |
라라벨
라라벨로 만든 블로그
5
|
| 133 |
라라벨
게시판 기능 구현해보기입니다.
|
| 132 | |
| 131 | |
| 130 | |
| 129 | |
| 128 | |
| 127 | |
| 126 |
라라벨
라라벨 강좌 #1 - 환경구축
|
| 117 | |
| 116 | |
| 113 | |
| 106 | |
| 105 |
일반
Faker
3
|
| 104 | |
| 101 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기