Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sklise/sinatra-api-example


https://github.com/sklise/sinatra-api-example

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# Sinatra JSON API Example

This is a very small example app showing how to accept and return JSON as an
API. An app like this could serve as a back end for a mobile app or a
[Backbone](http://backbonejs.org) app, or any other web interface that relies
on AJAX requests to view and change data.

If you're new to Sinatra I'd recommend starting with my [Sinatra Heroku
Template](https://github.com/stevenklise/Sinatra-Heroku-Template) repository.