Fetching Friends is an application designed to help you find your next pet! Future pet parents have the ability to search through the available pets based on certain criteria you are looking for. Once a desired pet is found, you can submit an application straight to the owner to apply for your furry friend. This application also caters towards the needs of someone who has a pet to offer for adoption by giving them a platform to post their animals.
This repo is holds the back-end for Fetching Friends and is consumed by our front-end. The front-end repo can be found here.
Fetching Friends Back-end Heroku | Fetching Friends Front-end Heroku
These instructions will give you a copy of the project up and running on your local machine for development and testing purposes.
Version Requirements
- ruby 2.5.3
- rails 5.2
-
Clone this repo:
$ git clone git@github.com:FetchingFriends/fetching-friends-backend.git -
cdintofetching-friends-backend -
Run
bundle install -
Run
rails db:{create,migrate,seed}
To check out our in-depth test suite, run:
$ bundle exec rspec
| HTTP verbs | Paths | Used for | Output |
|---|---|---|---|
| GET | /api/v1/pets?type=dog | Get all pets of a given type | json |
| GET | /api/v1/user/:id/pets | Get all pets belonging to a user | json |
| GET | /api/v1/users/:user_id | Get a user, and users pets, favorited pets, and applications | json |
| POST | /api/v1/users | Create a new user | json |
| POST | /api/v1/pets | Create a new pet | json |
| DELETE | /api/v1/pets/:pet_id | Delete a pet | details |
| DELETE | /api/v1/application/:application_id | Delete an application | details |
| PUT | /api/v1/application/:application_id | Update an application | json |
| PUT | /api/v1/pet/:pet_id | Update a pet | json |
- Jacob Arellano -- GitHub | LinkedIn
- Arika Blenker -- GitHub | LinkedIn
- Doug Welchons -- GitHub | LinkedIn
- Joshua Aragon -- GitHub | LinkedIn
- Matt MvVey -- GitHub | LinkedIn
- Owen Hallgren -- GitHub | LinkedIn
See also the list of contributors
