victor-nweze-deel / repairman-api

A RESTful API for a repair shop website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Maintainability Test Coverage

README

This is a simple repairman-api:

Resources

  • Users
  • Cars
  • Quotes

To test this api

  • Clone this repository
  • cd into the repairman-api folder
  • Run the following on the terminal rails s
  • Hit the following routes:
Prefix Verb URI Pattern Controller#Action
car_quotes GET /cars/:car_id/quotes(.:format) quotes#index
POST /cars/:car_id/quotes(.:format) quotes#create
car_quote GET /cars/:car_id/quotes/:id(.:format) quotes#show
PATCH /cars/:car_id/quotes/:id(.:format) quotes#update
PUT /cars/:car_id/quotes/:id(.:format) quotes#update
DELETE /cars/:car_id/quotes/:id(.:format) quotes#destroy
cars GET /cars(.:format) cars#index
POST /cars(.:format) cars#create
car GET /cars/:id(.:format) cars#show
PATCH /cars/:id(.:format) cars#update
PUT /cars/:id(.:format) cars#update
DELETE /cars/:id(.:format) cars#destroy
auth_login POST /auth/login(.:format) authentication#authenticate
signup POST /signup(.:format) users#create

Happy hacking :rockets:

Official Jiggy Stamp: Jiggy|Stamp

About

A RESTful API for a repair shop website


Languages

Language:Ruby 99.5%Language:HTML 0.5%