Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Heroku Buildpack that generates a REST webservice from a Core Data model

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
README.md

Core Data Buildpack

This is still in early stages of development, so proceed with caution when using this in a production application. Any bug reports, feature requests, or general feedback at this point would be greatly appreciated.

This is a Heroku buildpack for generating a REST web service from a Core Data model. It uses rack-core-data.

Usage

$ ls
Example.xcdatamodel

$ heroku create --stack cedar --buildpack http://github.com/mattt/heroku-buildpack-core-data.git

$ git push heroku master
...
-----> Heroku receiving push
-----> Fetching custom buildpack
-----> Core Data detected

This buildpack will detect your app if it includes a Core Data model (.xcdatamodel) file. Using rack-core-data, a REST web service that communicates with a Heroku Postgres dev database is generated according to the attributes and relationships of each entity in the data model:

Core Data Model API Endpoints
  • GET /artists
  • POST /artists
  • GET /artists/1
  • PUT /artists/1
  • DELETE /artists/1
  • GET /artists/1/songs

Contact

Mattt Thompson

License

Core Data Buildpack is available under the MIT license. See the LICENSE file for more info.

Something went wrong with that request. Please try again.