###Create article data:###
app/console doctrine:schema:drop --force --full-database
app/console doctrine:schema:update --force
app/console doctrine:fixtures:load
###Get list of articles:###
curl -i -X GET
-H "Content-Type:application/json"
'http://api.kusiu.com/articles.json'
###Add new an article:###
curl -i -X POST
-H "Content-Type:application/json"
-d
'{"title":"Article Title", "content":"Article Content"}'
'http://api.kusiu.com/articles.json'
###Add new answer of article by id:###
curl -i -X POST
-H "Content-Type:application/json"
-d
'{"id":"1", "content":"Comment"}'
'http://api.kusiu.com/answers.json'
###Rate an article:###
curl -i -X POST
-H "Content-Type:application/json"
-d
'{"id":"1", "value":5}'
'http://api.kusiu.com/rates.json'
###Front page that will allow us to write an article:###
http://api.kusiu.com
###command that will send an email to the writer of an article if he has notifications from more than 24 hours(todo: logic):###
app/console mail:author