git clone https://github.com/MLSDev/rails-chats-api
cd rails-chats-api
bundle install
rake db:migrate
rake
rails s
curl -H 'Accept: application/json' \
-d 'user[email]=john@mcclane.com&user[password]=superhero&user[password_confirmation]=superhero' \
localhost:3000/profile
curl -H 'Accept: application/json' \
-d 'session[email]=john@mcclane.com&session[password]=superhero' \
localhost:3000/session
curl -H 'Accept: application/json' \
-H 'Authorization: Token token="XXXX-YYYY-ZZZZ"' \
localhost:3000/profile