API stands for Application Interface Program, which provides one application to interact with ‘n’ number of applications which is of same/different language, to access the data/functionality. Creating API application provides more scalability to the web applications. It will also helps for the easy integration with cross domain applications/languages. • iOS apps • Android apps • Node js framework • Angular js framework There are 2 ways to achieve this in rails. 1. We can easily create a new API application using gem called rails-api, which inherit the application from ActionControllerAPI instead of ActionControllerBase and it will skip view generation. This will also helps to configure the middlewares. 2. In case …
Rails API の概要 続きを読む "