Chakaitos / ship-sticks-challenge

Backend challenge for Ship Sticks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ship-sticks

Backend challenge for Ship Sticks

API endpoints with sample requests

CREATE

POST '/products/?name=Package&type=Golf&length=36&width=12&height=12&weight=24'

READ

  1. shows all products (also the root route)
GET '/products
  1. shows one product the best matches given dimensions '/:length/:width/:height/:weight'
GET '/products/dimensions/48/14/12/42

UPDATE

PUT '/products/:id?name=Small Package&type=Golf&length=48&width=14&height=12&weight=42'

DESTROY

DELETE '/products/56836ea58c4fb526d3000000

About

Backend challenge for Ship Sticks


Languages

Language:Ruby 77.1%Language:HTML 16.9%Language:CSS 3.0%Language:JavaScript 2.3%Language:CoffeeScript 0.7%