Test Driven Development of a RESTful JSON API With Rails

preview_player
Показать описание
The open-source nature of Rails and its rich ecosystem (RubyGems), inherited from Ruby, gives it a huge advantage of both time and cost efficiency to get your API up and running in no time. In this article, we’ll build a simple Rails RESTful JSON API using Rails.

Рекомендации по теме
Комментарии
Автор

7:47 model: books
9:53 category specs
14:15 implement model validacions
22:16 request specs
33:50 routes
35:50 controllers
42:25 representers
50:10 api tests
1:07:59 controllers

eduardoblas
Автор

"We could not find your database: postgres. Which can be found in the database configuration file located at config/database.yml" Unsure of how to fix this, any help would be appreciated!

dalinar