create project with devise gem
install devise and set login by phone number
override all devise controllers
[FIX] recreate user model with phone field and email field
set phone field is required
migrations for custom user model
set not required any js files and css files to application layout
set not import any js and css files in application layout
create a home controller
create a home layout
add activeadmin gem
install activeadmin with model AdminUser
create an admin layout
udpate schema.rb
set phone and email to be unique value but allow blank in email field
allow devise return for ajax request
always reponse in json when exception is occured
update Gemfile.lock
create BaseApiController
set BaseApiController without layout and default respond in json format