Example json api server with token authentication. It is implemented using Ruby on Rails and devise.