Skip to content

Latest commit

 

History

History
executable file
·
46 lines (39 loc) · 1.52 KB

readme.md

File metadata and controls

executable file
·
46 lines (39 loc) · 1.52 KB

jp recipe

Build Status Coverage Status Dependency Status Scrutinizer Code Quality

###for dev generate ide-helper

$ php artisan ide-helper:generate

develop

$ php artisan migrate
$ php artisan db:seed

Grunt

$ npm install
$ grunt

##URI ###recipes API

  • [レシピ一覧取得]GET: /api/v1/recipe (application/json)
  • [レシピ取得]GET: /api/v1/recipe/{recipe_id} (application/json)
  • [レシピ一覧取得]GET: /api/v1/recipe?format=hal (application/hal+json)
  • [レシピ取得]GET: /api/v1/recipe/{recipe_id}?format=hal (application/hal+json)

###XML

  • [サイトマップ]GET: /sitemap.xml (application/xml; charset=UTF-8)
  • [Atom Feed]GET: /feed (application/atom+xml)
  • [RSS Feed]GET: /feed/rss (application/rss+xml; charset=utf-8)

##Artisan ###レシピスキャン

$ php artisan jp-recipe:add

###アクセスユーザー追加

$ php artisan jp-recipe:add-allow-account [username]