Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 862 Bytes

File metadata and controls

24 lines (19 loc) · 862 Bytes

About this repository

This repository is personal practice that build authentication API.
Using Rails with devise,devise_token_auth.

Reference

devise_token_auth Tutorial

Important

This repository don't have config/secrets.yml. But, If necessary this file, add this file manually.

Getting Start

Move directory and execute follow commands in terminal.
$bundle install --path vendor/bundle
$rake db:migrate
$rails s

Registration Test

curl -XPOST -H 'Content-Type: application/json' http://localhost:3000/api/v1/auth -d '{"email": "test1234@test.com", "password": "12345678", "password_confirmation" : "12345678" }'

TODO

TODO: ng_token_auth
TODO: doorkeeper
TODO: cancancan