How to send data from database in mobile application?

There is a site on rails 5 which authorization is done through devise, with the development of mobile applications, the question arose of how to send data from database in mobile application, I realized I need to send username and password to access the admin section, so that data is only available in it. Who faced such problem and how solved?
June 8th 19 at 17:04
1 answer
June 8th 19 at 17:06
Implement API for mobile app. In the fifth rails are the features that will help solve the problem.

Find more questions by tags Ruby on Rails