8000 GitHub - rhiroyuki/doggo_walker
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

rhiroyuki/doggo_walker

Repository files navigation

CircleCI

DoggoWalker System

Requirements

  • Ruby 2.5.3
  • Rails 5.2
  • Postgres

Setup

$ bin/setup

API Endpoints


PUT /api/v1/dog_walkings/:id/start_walk(.:format)

# param example
params: { id: dog_walking.id }

PUT /api/v1/dog_walkings/:id/finish_walk(.:format)

# param example
params: { id: dog_walking.id }

GET /api/v1/dog_walkings(.:format)


POST /api/v1/dog_walkings(.:format)

# param example
params = {
  dog_walking: {
    scheduled_on: '2018-11-21',
    price_value: 0,
    scheduled_duration: 30,
    latitude: 30.00,
    longitude: 12.00,
    started_at: nil,
    ended_at: nil,
    pets: [pet_ids]
  }
}


GET /api/v1/dog_walkings/:id(.:format)

# param example
params = { id: 1 }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0