This is an example project to explain how to use rails with Endpoints.
There are two different relational columns used
- Cars
- Owners
Each car belongs to an owner and an owner can have many cars.
GET /owners(.:format)
POST /owners(.:format)
GET /owners/:id(.:format)
PATCH /owners/:id(.:format)
PUT /owners/:id(.:format)
DELETE /owners/:id(.:format)
GET /cars(.:format)
POST /cars(.:format)
GET /cars/:id(.:format)
PATCH /cars/:id(.:format)
PUT /cars/:id(.:format)
More information to come regarding the tutorial