Skip to content

NewFieldForMe/AuthenticationAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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": "[email protected]", "password": "12345678", "password_confirmation" : "12345678" }'

TODO

TODO: ng_token_auth
TODO: doorkeeper
TODO: cancancan

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published