This is a sample RESTful Rails API in 2 versions, to keep the material clear and easy to follow. Version 1 will cover basic API concepts, and version 2 will cover concepts that are a little more advanced and complex, such as authentication.
The versions will cover the following material:
This is an open story builder. Just add a sentence, and make the story great!
More info here: http://www.yoniweisbrod.com/rails-api-mini-guide/
V1
- Rendering JSON with Jbuilder
- Versioning
- Pagination
V2
The above plus:
- Testing
- Authentication
- Rendering JSON with ActiveModel::Serializers