Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sklise/sinatra-api-example
https://github.com/sklise/sinatra-api-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sklise/sinatra-api-example
- Owner: sklise
- Archived: true
- Created: 2013-03-18T14:37:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-10-18T18:50:41.000Z (about 7 years ago)
- Last Synced: 2024-04-15T14:13:18.388Z (7 months ago)
- Language: Ruby
- Size: 132 KB
- Stars: 111
- Watchers: 8
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
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.