- Clone the repo to local repository
bundle install
rake db:create
rake db:migrate
rake db:seed
optional
- Base url is
https://ld-taco.herokuapp.com/v1
GET /tacos
- Returns a list of all tacos in the databaseGET /tacos/:id
- returns the data of the specific tacoPOST /tacos
- Creates a taco with the given parameters. The paramsname
andprice
are required for a valid taco andprice
should be an integer.DELETE /tacos/:id
- Removes the taco with this ID from the database
- Rspec tests for controllers and models added
- Validaoin added to check presence of name and price of taco and integer values for price.
- Additional gems
active_model_serializers
for adding control over attributes to be sent in a response andwill_paginate
for paginating taco responses .