damonspencerroberts / Cars-Endpoints-Example

Cars and Owners Endpoint Example in Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cars Example for Endpoints in Rails

This is an example project to explain how to use rails with Endpoints.

Two Different Columns

There are two different relational columns used

  • Cars
  • Owners

Each car belongs to an owner and an owner can have many cars.

Routes

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

More information to come regarding the tutorial

About

Cars and Owners Endpoint Example in Rails


Languages

Language:Ruby 76.8%Language:HTML 12.7%Language:JavaScript 8.2%Language:CSS 1.6%Language:SCSS 0.8%