This repository is personal practice that build authentication API.
Using Rails with devise,devise_token_auth.
This repository don't have config/secrets.yml
.
But, If necessary this file, add this file manually.
Move directory and execute follow commands in terminal.
$bundle install --path vendor/bundle
$rake db:migrate
$rails s
curl -XPOST -H 'Content-Type: application/json' http://localhost:3000/api/v1/auth -d '{"email": "[email protected]", "password": "12345678", "password_confirmation" : "12345678" }'
TODO: ng_token_auth
TODO: doorkeeper
TODO: cancancan