By Renata D.
Petful operates on a FIFO (first-in, first-out) basis. Given a queue of dogs and a queue of cats, users adopt the first available pet. As a new adopter, add your name to the waiting list and watch as each available pet gets adopted. When it's your turn to adopt your pet, click the adopt button to dequeue that pet and complete the adoption process!
- Live: Petful Live App
- Railway: API
- Petful Client: Github
- Petful Server: Github
| Method | Path | Purpose |
|---|---|---|
| GET | /api/cats | Get the first cat in the queue |
| DELETE | /api/cats | Dequeues the first cat in the queue |
| GET | /api/cats/morecats | Reloads the cats in the queue when there are no more available |
| GET | /api/cats/allcats | Get all cats next in the queue |
| GET | /api/dogs | Get the first dog in the queue |
| DELETE | /api/dogs | Dequeues the first dog in the queue |
| GET | /api/dogs/moredogs | Reloads the dogs in the queue when there are no more available |
| GET | /api/dogs/alldogs | Get all dogs next in the queue |
LinkedIn: Contact