Answer the question
In order to leave comments, you need to log in
How to add an api to a Rails application?
I made an application on Ruby On Rails, authorization is carried out using the Devise gem. Tell me how to add authorization through api? I tried to dig in the direction of devise_token_auth, but there is either a conflict of migrations or everything is given through json. The moment with rack-cors is also interesting, how to set everything up correctly in terms of security?
Answer the question
In order to leave comments, you need to log in
How is the API implemented?
Controllers#actions, Grape, something else?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question