#3 - APIs on Rails: Create Rails API-only application HD

22.01.2017
Create Rails API-only application to build JSON REST APIs In this episode I will show you how to create a rails api-only application and build a couple of REST APIs that are JSON. I will be using docker and docker-compose to create and run the rails api application. For JSON views I will be using jbuilder gem which has a good DSL syntax. I will use rails scaffold to generate some APIs and then make a few changes to the JSON views to walk though some of the jbuilder structures. ------------------------------------------------------------------------ Source code: https://github.com/ec-codecasts/e3-apis-on-rails ------------------------------------------------------------------------ Related episodes: ------------------------------------------------------------------------ Related episodes: #4 - APIs On Rails: Add pagination to an API https://youtu.be/DgfTbTB5ypQ #1 - Rails on Docker: Create and run Rails app using Docker https://youtu.be/a-jcTib9ZPA ------------------------------------------------------------------------ Docker rails template: https://github.com/ec-codecasts/docker-rails-template Copy of commands: https://github.com/ec-codecasts/e3-apis-on-rails/blob/master/README.md Reference: http://edgeguides.rubyonrails.org/api_app.html ------------------------------------------------------------------------ Author: Chandra Shettigar, Software Engineer with over decade of experience writing softwares - web & mobile apps. https://www.linkedin.com/in/shettigarc, https://twitter.com/shettigar

Похожие видео

Показать еще