Rails JSON API Tutorial – Using JSONAPI Resources Gem

rails json api tutorial
Standard

Rails JSON API Tutorial Introduction

In this Rails JSON API tutorial, we will discuss how to quickly build a JSON API that is JSONAPI spec compliant using Ruby on Rails and jsonapi-resources gem.

This tutorial assumes that you already have Ruby and Ruby on Rails installed on your computer and you already have a basic understanding how APIs work. This tutorial uses Ruby 2.1.2 and Rails 4.2.0.

JSONAPI spec is a specification for building APIs in JSON. The spec covers how a client should request that resources be fetched or modified, and how a server should respond to those requests.

Continue reading

Build a Net Income Calculator App with Ruby

ruby income calculator
Standard

Share this tutorial w/ your followers on Twitter. Click this link to tweet this tutorial: https://goo.gl/visSgs

This tutorial is for beginners who want to learn how to build applications in Ruby programming language.

What will we build?

We will build a net income calculator for freelancers in an imaginary company that serves as a middleman between a freelancer and an employer. To be able to focus on Ruby, we won’t build a web based application so you won’t have to use HTML. What we will build is a very simple command line application.

Continue reading