<file_sep><?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Breed extends Model
{
    use HasFactory;

    protected $fillable = [
        'description',
        'name',
        'image_url',
        'child_friendly',
        'dog_friendly',
        'hairless',
        'health_issues',
        'hypoallergenic',
        'intelligence',
        'short_legs',
        'stranger_friendly',
        'temperament',
        'imperial',
        'metric',
        'origin',
        'wikipedia_url'
    ];
}
<file_sep><?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateCatsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('cats', function (Blueprint $table) {
            $table->bigIncrements("id");
            $table->bigInteger('breed_id');
            $table->string("name");
            $table->integer("age");
            $table->bigInteger("gender_id");
            $table->decimal('long', 10, 7);
            $table->decimal('lat', 10, 7);
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('cats');
    }
}
<file_sep><?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class BreedSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('breeds')->insert(
            [
                [
                    "name" => "Abyssinian",
                    "description" => "The Abyssinian is easy to care for, and a joy to have in your home. They’re affectionate cats and love both people and other animals.",
                    "image_url" => "https://cdn2.thecatapi.com/images/0XYvRd7oD.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Active, Energetic, Independent, Intelligent, Gentle",
                    "imperial" => "7  -  10",
                    "metric" => "3 - 5",
                    "origin" => "Egypt",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Abyssinian_(cat)",
                ],
                [
                    "name" => "Aegean",
                    "description" => "Native to the Greek islands known as the Cyclades in the Aegean Sea, these are natural cats, meaning they developed without humans getting involved in their breeding. As a breed, Aegean Cats are rare, although they are numerous on their home islands. They are generally friendly toward people and can be excellent cats for families with children.",
                    "image_url" => "https://cdn2.thecatapi.com/images/ozEvzdVM-.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Social, Intelligent, Playful, Active",
                    "imperial" => "7 - 10",
                    "metric" => "3 - 5",
                    "origin" => "Greece",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Aegean_cat",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "American Bobtails are loving and incredibly intelligent cats possessing a distinctive wild appearance. They are extremely interactive cats that bond with their human family with great devotion.",
                    "image_url" => "https://cdn2.thecatapi.com/images/hBXicehMA.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Intelligent, Interactive, Lively, Playful, Sensitive",
                    "imperial" => "7 - 16",
                    "metric" => "3 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/American_Bobtail",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "Distinguished by truly unique ears that curl back in a graceful arc, offering an alert, perky, happily surprised expression, they cause people to break out into a big smile when viewing their first Curl. Curls are very people-oriented, faithful, affectionate soulmates, adjusting remarkably fast to other pets, children, and new situations.",
                    "image_url" => "https://cdn2.thecatapi.com/images/xnsqonbjW.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Curious, Intelligent, Interactive, Lively, Playful, Social",
                    "imperial" => "5 - 10",
                    "metric" => "2 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/American_Curl",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The American Shorthair is known for its longevity, robust health, good looks, sweet personality, and amiability with children, dogs, and other pets.",
                    "image_url" => "https://cdn2.thecatapi.com/images/JFPROfGtQ.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Active, Curious, Easy Going, Playful, Calm",
                    "imperial" => "8 - 15",
                    "metric" => "4 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/American_Shorthair",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The American Wirehair tends to be a calm and tolerant cat who takes life as it comes. His favorite hobby is bird-watching from a sunny windowsill, and his hunting ability will stand you in good stead if insects enter the house.",
                    "image_url" => "https://cdn2.thecatapi.com/images/8D--jCd21.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Curious, Gentle, Intelligent, Interactive, Lively, Loyal, Playful, Sensible, Social",
                    "imperial" => "8 - 15",
                    "metric" => "4 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/American_Wirehair",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "Arabian Mau cats are social and energetic. Due to their energy levels, these cats do best in homes where their owners will be able to provide them with plenty of playtime, attention and interaction from their owners. These kitties are friendly, intelligent, and adaptable, and will even get along well with other pets and children.",
                    "image_url" => "https://cdn2.thecatapi.com/images/k71ULYfRr.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Agile, Curious, Independent, Playful, Loyal",
                    "imperial" => "8 - 16",
                    "metric" => "4 - 7",
                    "origin" => "United Arab Emirates",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Arabian_Mau",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Australian Mist thrives on human companionship. Tolerant of even the youngest of children, these friendly felines enjoy playing games and being part of the hustle and bustle of a busy household. They make entertaining companions for people of all ages, and are happy to remain indoors between dusk and dawn or to be wholly indoor pets.",
                    "image_url" => "https://cdn2.thecatapi.com/images/_6x-3TiCA.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 4,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Lively, Social, Fun-loving, Relaxed, Affectionate",
                    "imperial" => "7 - 15",
                    "metric" => "3 - 7",
                    "origin" => "Australia",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Australian_Mist",
                ],
                [
                    "name" => "Balinese",
                    "description" => "Balinese are curious, outgoing, intelligent cats with excellent communication skills. They are known for their chatty personalities and are always eager to tell you their views on life, love, and what you’ve served them for dinner. ",
                    "image_url" => "https://cdn2.thecatapi.com/images/13MkvUreZ.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Affectionate, Intelligent, Playful",
                    "imperial" => "4 - 10",
                    "metric" => "2 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Balinese_(cat)",
                ],
                [
                    "name" => "Bambino",
                    "description" => "The Bambino is a breed of cat that was created as a cross between the Sphynx and the Munchkin breeds. The Bambino cat has short legs, large upright ears, and is usually hairless. They love to be handled and cuddled up on the laps of their family members.",
                    "image_url" => "https://cdn2.thecatapi.com/images/5AdhMjeEu.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 1,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 1,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Lively, Friendly, Intelligent",
                    "imperial" => "4 - 9",
                    "metric" => "2 - 4",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Bambino_cat",
                ],
                [
                    "name" => "Bengal",
                    "description" => "Bengals are a lot of fun to live with, but they're definitely not the cat for everyone, or for first-time cat owners. Extremely intelligent, curious and active, they demand a lot of interaction and woe betide the owner who doesn't provide it.",
                    "image_url" => "https://cdn2.thecatapi.com/images/O3btzLlsO.png",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Alert, Agile, Energetic, Demanding, Intelligent",
                    "imperial" => "6 - 12",
                    "metric" => "3 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Bengal_(cat)",
                ],
                [
                    "name" => "Birman",
                    "description" => "The Birman is a docile, quiet cat who loves people and will follow them from room to room. Expect the Birman to want to be involved in what you’re doing. He communicates in a soft voice, mainly to remind you that perhaps it’s time for dinner or maybe for a nice cuddle on the sofa. He enjoys being held and will relax in your arms like a furry baby.",
                    "image_url" => "https://cdn2.thecatapi.com/images/HOrX5gwLS.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Active, Gentle, Social",
                    "imperial" => "6 - 15",
                    "metric" => "3 - 7",
                    "origin" => "France",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Birman",
                ],
                [
                    "name" => "Bombay",
                    "description" => "The the golden eyes and the shiny black coa of the Bopmbay is absolutely striking. Likely to bond most with one family member, the Bombay will follow you from room to room and will almost always have something to say about what you are doing, loving attention and to be carried around, often on his caregiver's shoulder.",
                    "image_url" => "https://cdn2.thecatapi.com/images/5iYq9NmT1.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Dependent, Gentle, Intelligent, Playful",
                    "imperial" => "6 - 11",
                    "metric" => "3 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Bombay_(cat)",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The British Longhair is a very laid-back relaxed cat, often perceived to be very independent although they will enjoy the company of an equally relaxed and likeminded cat. They are an affectionate breed, but very much on their own terms and tend to prefer to choose to come and sit with their owners rather than being picked up.",
                    "image_url" => "https://cdn2.thecatapi.com/images/7isAO4Cav.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Easy Going, Independent, Intelligent, Loyal, Social",
                    "imperial" => "8 - 18",
                    "metric" => "4 - 8",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/British_Longhair",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The British Shorthair is a very pleasant cat to have as a companion, ans is easy going and placid. The British is a fiercely loyal, loving cat and will attach herself to every one of her family members. While loving to play, she doesn't need hourly attention. If she is in the mood to play, she will find someone and bring a toy to that person. The British also plays well by herself, and thus is a good companion for single people.",
                    "image_url" => "https://cdn2.thecatapi.com/images/s4wQfYoEk.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 2,
                    "temperament" => "Affectionate, Easy Going, Gentle, Loyal, Patient, calm",
                    "imperial" => "12 - 20",
                    "metric" => "5 - 9",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/British_Shorthair",
                ],
                [
                    "name" => "Burmese",
                    "description" => "Burmese love being with people, playing with them, and keeping them entertained. They crave close physical contact and abhor an empty lap. They will follow their humans from room to room, and sleep in bed with them, preferably under the covers, cuddled as close as possible. At play, they will turn around to see if their human is watching and being entertained by their crazy antics.",
                    "image_url" => "https://cdn2.thecatapi.com/images/4lXnnfxac.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Curious, Intelligent, Gentle, Social, Interactive, Playful, Lively",
                    "imperial" => "6 - 12",
                    "metric" => "3 - 5",
                    "origin" => "Burma",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Burmese_(cat)",
                ],
                [
                    "name" => "Burmilla",
                    "description" => "The Burmilla is a fairly placid cat. She tends to be an easy cat to get along with, requiring minimal care. The Burmilla is affectionate and sweet and makes a good companion, the Burmilla is an ideal companion to while away a lonely evening. Loyal, devoted, and affectionate, this cat will stay by its owner, always keeping them company.",
                    "image_url" => "https://cdn2.thecatapi.com/images/jvg3XfEdC.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Easy Going, Friendly, Intelligent, Lively, Playful, Social",
                    "imperial" => "6 - 13",
                    "metric" => "3 - 6",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Burmilla",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "Perhaps the only thing about the California spangled cat that isn’t wild-like is its personality. Known to be affectionate, gentle and sociable, this breed enjoys spending a great deal of time with its owners. They are very playful, often choosing to perch in high locations and show off their acrobatic skills.",
                    "image_url" => "https://cdn2.thecatapi.com/images/B1ERTmgph.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Curious, Intelligent, Loyal, Social",
                    "imperial" => "10 - 15",
                    "metric" => "5 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/California_Spangled",
                ],
                [
                    "name" => "Chantilly-Tiffany",
                    "description" => "The Chantilly is a devoted companion and prefers company to being left alone. While the Chantilly is not demanding, she will \"chirp\" and \"talk\" as if having a conversation. This breed is affectionate, with a sweet temperament. It can stay still for extended periods, happily lounging in the lap of its loved one. This quality makes the Tiffany an ideal traveling companion, and an ideal house companion for senior citizens and the physically handicapped.",
                    "image_url" => "https://cdn2.thecatapi.com/images/TR-5nAd_S.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Demanding, Interactive, Loyal",
                    "imperial" => "7 - 12",
                    "metric" => "3 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Chantilly-Tiffany",
                ],
                [
                    "name" => "Chartreux",
                    "description" => "The Chartreux is generally silent but communicative. Short play sessions, mixed with naps and meals are their perfect day. Whilst appreciating any attention you give them, they are not demanding, content instead to follow you around devotedly, sleep on your bed and snuggle with you if you’re not feeling well.",
                    "image_url" => "https://cdn2.thecatapi.com/images/j6oFGLpRG.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 1,
                    "intelligence" => 4,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Affectionate, Loyal, Intelligent, Social, Lively, Playful",
                    "imperial" => "6 - 15",
                    "metric" => "3 - 7",
                    "origin" => "France",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Chartreux",
                ],
                [
                    "name" => "Chausie",
                    "description" => "For those owners who desire a feline capable of evoking the great outdoors, the strikingly beautiful Chausie retains a bit of the wild in its appearance but has the house manners of our friendly, familiar moggies. Very playful, this cat needs a large amount of space to be able to fully embrace its hunting instincts.",
                    "image_url" => "https://cdn2.thecatapi.com/images/vJ3lEYgXr.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Intelligent, Playful, Social",
                    "imperial" => "7 - 15",
                    "metric" => "3 - 7",
                    "origin" => "Egypt",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Chausie",
                ],
                [
                    "name" => "Cheetoh",
                    "description" => "The Cheetoh has a super affectionate nature and real love for their human companions; they are intelligent with the ability to learn quickly. You can expect that a Cheetoh will be a fun-loving kitty who enjoys playing, running, and jumping through every room in your house.",
                    "image_url" => "https://cdn2.thecatapi.com/images/IFXsxmXLm.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Gentle, Intelligent, Social",
                    "imperial" => "8 - 15",
                    "metric" => "4 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Bengal_cat#Cheetoh",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "Colorpoint Shorthairs are an affectionate breed, devoted and loyal to their people. Sensitive to their owner’s moods, Colorpoints are more than happy to sit at your side or on your lap and purr words of encouragement on a bad day. They will constantly seek out your lap whenever it is open and in the moments when your lap is preoccupied they will stretch out in sunny spots on the ground.",
                    "image_url" => "https://cdn2.thecatapi.com/images/oSpqGyUDS.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 2,
                    "temperament" => "Affectionate, Intelligent, Playful, Social",
                    "imperial" => "4 - 10",
                    "metric" => "2 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Colorpoint_Shorthair",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "This is a confident cat who loves people and will follow them around, waiting for any opportunity to sit in a lap or give a kiss. He enjoys being handled, making it easy to take him to the veterinarian or train him for therapy work. The Cornish Rex stay in kitten mode most of their lives and well into their senior years. ",
                    "image_url" => "https://cdn2.thecatapi.com/images/unX21IBVB.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Intelligent, Active, Curious, Playful",
                    "imperial" => "5 - 9",
                    "metric" => "2 - 4",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Cornish_Rex",
                ],
                [
                    "name" => "Cymric",
                    "description" => "The Cymric is a placid, sweet cat. They do not get too upset about anything that happens in their world. They are loving companions and adore people. They are smart and dexterous, capable of using his paws to get into cabinets or to open doors.",
                    "image_url" => "https://cdn2.thecatapi.com/images/3dbtapCWM.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Gentle, Loyal, Intelligent, Playful",
                    "imperial" => "8 - 13",
                    "metric" => "4 - 6",
                    "origin" => "Canada",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Cymric_(cat)",
                ],
                [
                    "name" => "Cyprus",
                    "description" => "Loving, loyal, social and inquisitive, the Cyprus cat forms strong ties with their families and love nothing more than to be involved in everything that goes on in their surroundings. They are not overly active by nature which makes them the perfect companion for people who would like to share their homes with a laid-back relaxed feline companion. ",
                    "image_url" => "https://cdn2.thecatapi.com/images/tJbzb7FKo.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Social",
                    "imperial" => "8 - 16",
                    "metric" => "4 - 7",
                    "origin" => "Cyprus",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Cyprus_cat",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The favourite perch of the Devon Rex is right at head level, on the shoulder of her favorite person. She takes a lively interest in everything that is going on and refuses to be left out of any activity. Count on her to stay as close to you as possible, occasionally communicating his opinions in a quiet voice. She loves people and welcomes the attentions of friends and family alike.",
                    "image_url" => "https://cdn2.thecatapi.com/images/4RzEwvyzz.png",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Highly interactive, Mischievous, Loyal, Social, Playful",
                    "imperial" => "5 - 10",
                    "metric" => "2 - 5",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Devon_Rex",
                ],
                [
                    "name" => "Donskoy",
                    "description" => "Donskoy are affectionate, intelligent, and easy-going. They demand lots of attention and interaction. The Donskoy also gets along well with other pets. It is now thought the same gene that causes degrees of hairlessness in the Donskoy also causes alterations in cat personality, making them calmer the less hair they have.",
                    "image_url" => "https://cdn2.thecatapi.com/images/3KG57GfMW.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 3,
                    "hairless" => 1,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Playful, affectionate, loyal, social",
                    "imperial" => "10 - 12",
                    "metric" => "5 - 6",
                    "origin" => "Russia",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Donskoy_(cat)",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Dragon Li is loyal, but not particularly affectionate. They are known to be very intelligent, and their natural breed status means that they're very active. She is is gentle with people, and has a reputation as a talented hunter of rats and other vermin.",
                    "image_url" => "https://cdn2.thecatapi.com/images/BQMSld0A0.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 3,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Intelligent, Friendly, Gentle, Loving, Loyal",
                    "imperial" => "9 - 12",
                    "metric" => "4 - 6",
                    "origin" => "China",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Dragon_Li",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Egyptian Mau is gentle and reserved. She loves her people and desires attention and affection from them but is wary of others. Early, continuing socialization is essential with this sensitive and sometimes shy cat, especially if you plan to show or travel with her. Otherwise, she can be easily startled by unexpected noises or events.",
                    "image_url" => "https://cdn2.thecatapi.com/images/TuSyTkt2n.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 3,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 4,
                    "short_legs" => 0,
                    "stranger_friendly" => 2,
                    "temperament" => "Agile, Dependent, Gentle, Intelligent, Lively, Loyal, Playful",
                    "imperial" => "6 - 14",
                    "metric" => "3 - 6",
                    "origin" => "Egypt",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Egyptian_Mau",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The European Burmese is a very affectionate, intelligent, and loyal cat. They thrive on companionship and will want to be with you, participating in everything you do. While they might pick a favorite family member, chances are that they will interact with everyone in the home, as well as any visitors that come to call. They are inquisitive and playful, even as adults. ",
                    "image_url" => null,
                    "child_friendly" => 4,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 4,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Sweet, Affectionate, Loyal",
                    "imperial" => "7 - 14",
                    "metric" => "3 - 6",
                    "origin" => "Burma",
                    "wikipedia_url" => null,
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Exotic Shorthair is a gentle friendly cat that has the same personality as the Persian. They love having fun, don’t mind the company of other cats and dogs, also love to curl up for a sleep in a safe place. Exotics love their own people, but around strangers they are cautious at first. Given time, they usually warm up to visitors.",
                    "image_url" => "https://cdn2.thecatapi.com/images/YnPrYEmfe.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 3,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 2,
                    "temperament" => "Affectionate, Sweet, Loyal, Quiet, Peaceful",
                    "imperial" => "7 - 14",
                    "metric" => "3 - 6",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Exotic_Shorthair",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Havana Brown is human oriented, playful, and curious. She has a strong desire to spend time with her people and involve herself in everything they do. Being naturally inquisitive, the Havana Brown reaches out with a paw to touch and feel when investigating curiosities in its environment. They are truly sensitive by nature and frequently gently touch their human companions as if they are extending a paw of friendship.",
                    "image_url" => "https://cdn2.thecatapi.com/images/njK25knLH.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Curious, Demanding, Friendly, Intelligent, Playful",
                    "imperial" => "6 - 10",
                    "metric" => "3 - 5",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Havana_Brown",
                ],
                [
                    "name" => "Himalayan",
                    "description" => "Calm and devoted, Himalayans make excellent companions, though they prefer a quieter home. They are playful in a sedate kind of way and enjoy having an assortment of toys. The Himalayan will stretch out next to you, sleep in your bed and even sit on your lap when she is in the mood.",
                    "image_url" => "https://cdn2.thecatapi.com/images/CDhOtM-Ig.jpg",
                    "child_friendly" => 2,
                    "dog_friendly" => 2,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 2,
                    "temperament" => "Dependent, Gentle, Intelligent, Quiet, Social",
                    "imperial" => "7 - 14",
                    "metric" => "3 - 6",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Himalayan_(cat)",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Japanese Bobtail is an active, sweet, loving and highly intelligent breed. They love to be with people and play seemingly endlessly. They learn their name and respond to it. They bring toys to people and play fetch with a favorite toy for hours. Bobtails are social and are at their best when in the company of people. They take over the house and are not intimidated. If a dog is in the house, Bobtails assume Bobtails are in charge.",
                    "image_url" => "https://cdn2.thecatapi.com/images/-tm9-znzl.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Active, Agile, Clever, Easy Going, Intelligent, Lively, Loyal, Playful, Social",
                    "imperial" => "5 - 10",
                    "metric" => "2 - 5",
                    "origin" => "Japan",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Japanese_Bobtail",
                ],
                [
                    "name" => "Javanese",
                    "description" => "Javanese are endlessly interested, intelligent and active. They tend to enjoy jumping to great heights, playing with fishing pole-type or other interactive toys and just generally investigating their surroundings. He will attempt to copy things you do, such as opening doors or drawers.",
                    "image_url" => "https://cdn2.thecatapi.com/images/xoI_EpOKe.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Active, Devoted, Intelligent, Playful",
                    "imperial" => "5 - 10",
                    "metric" => "2 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Javanese_cat",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Khao Manee is highly intelligent, with an extrovert and inquisitive nature, however they are also very calm and relaxed, making them an idea lap cat.",
                    "image_url" => "https://cdn2.thecatapi.com/images/165ok6ESN.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 3,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 4,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Calm, Relaxed, Talkative, Playful, Warm",
                    "imperial" => "8 - 12",
                    "metric" => "4 - 6",
                    "origin" => "Thailand",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Khao_Manee",
                ],
                [
                    "name" => "Korat",
                    "description" => "The Korat is a natural breed, and one of the oldest stable cat breeds. They are highly intelligent and confident cats that can be fearless, although they are startled by loud sounds and sudden movements. Korats form strong bonds with their people and like to cuddle and stay nearby.",
                    "image_url" => "https://cdn2.thecatapi.com/images/DbwiefiaY.png",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 2,
                    "temperament" => "Active, Loyal, highly intelligent, Expressive, Trainable",
                    "imperial" => "7 - 11",
                    "metric" => "3 - 5",
                    "origin" => "Thailand",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Korat",
                ],
                [
                    "name" => "Kurilian",
                    "description" => "The character of the Kurilian Bobtail is independent, highly intelligent, clever, inquisitive, sociable, playful, trainable, absent of aggression and very gentle. They are devoted to their humans and when allowed are either on the lap of or sleeping in bed with their owners.",
                    "image_url" => "https://cdn2.thecatapi.com/images/NZpO4pU56M.jpg",
                    "child_friendly" => 5,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Independent, highly intelligent, clever, inquisitive, sociable, playful, trainable",
                    "imperial" => "8 - 15",
                    "metric" => "4 - 7",
                    "origin" => "Russia",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Kurilian_Bobtail",
                ],
                [
                    "name" => "LaPerm",
                    "description" => "LaPerms are gentle and affectionate but also very active. Unlike many active breeds, the LaPerm is also quite content to be a lap cat. The LaPerm will often follow your lead; that is, if they are busy playing and you decide to sit and relax, simply pick up your LaPerm and sit down with it, and it will stay in your lap, devouring the attention you give it.",
                    "image_url" => "https://cdn2.thecatapi.com/images/aKbsEYjSl.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Friendly, Gentle, Intelligent, Playful, Quiet",
                    "imperial" => "6 - 10",
                    "metric" => "3 - 5",
                    "origin" => "Thailand",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/LaPerm",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "They are known for their size and luxurious long coat Maine Coons are considered a gentle giant. The good-natured and affable Maine Coon adapts well to many lifestyles and personalities. She likes being with people and has the habit of following them around, but isn’t needy. Most Maine Coons love water and they can be quite good swimmers.",
                    "image_url" => "https://cdn2.thecatapi.com/images/OOD3VXAQn.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Adaptable, Intelligent, Loving, Gentle, Independent",
                    "imperial" => "12 - 18",
                    "metric" => "5 - 8",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Maine_Coon",
                ],
                [
                    "name" => "Malayan",
                    "description" => "Malayans love to explore and even enjoy traveling by way of a cat carrier. They are quite a talkative and rather loud cat with an apparent strong will. These cats will make sure that you give it the attention it seeks and always seem to want to be held and hugged. They will constantly interact with people, even strangers. They love to play and cuddle.",
                    "image_url" => null,
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Interactive, Playful, Social",
                    "imperial" => "6 - 13",
                    "metric" => "3 - 6",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Asian_cat",
                ],
                [
                    "name" => "Manx",
                    "description" => "The Manx is a placid, sweet cat that is gentle and playful. She never seems to get too upset about anything. She is a loving companion and adores being with people.",
                    "image_url" => "https://cdn2.thecatapi.com/images/fhYh2PDcC.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Easy Going, Intelligent, Loyal, Playful, Social",
                    "imperial" => "7 - 13",
                    "metric" => "3 - 6",
                    "origin" => "Isle of Man",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Manx_(cat)",
                ],
                [
                    "name" => "Munchkin",
                    "description" => "The Munchkin is an outgoing cat who enjoys being handled. She has lots of energy and is faster and more agile than she looks. The shortness of their legs does not seem to interfere with their running and leaping abilities.",
                    "image_url" => "https://cdn2.thecatapi.com/images/j5cVSqLer.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 1,
                    "stranger_friendly" => 5,
                    "temperament" => "Agile, Easy Going, Intelligent, Playful",
                    "imperial" => "5 - 9",
                    "metric" => "2 - 4",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Munchkin_(cat)",
                ],
                [
                    "name" => "Nebelung",
                    "description" => "The Nebelung may have a reserved nature, but she loves to play (being especially fond of retrieving) and enjoys jumping or climbing to high places where she can study people and situations at her leisure before making up her mind about whether she wants to get involved.",
                    "image_url" => "https://cdn2.thecatapi.com/images/OGTWqNNOt.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Gentle, Quiet, Shy, Playful",
                    "imperial" => "7 - 11",
                    "metric" => "3 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Nebelung",
                ],
                [
                    "name" => "Norwegian <NAME>",
                    "description" => "The Norwegian Forest Cat is a sweet, loving cat. She appreciates praise and loves to interact with her parent. She makes a loving companion and bonds with her parents once she accepts them for her own. She is still a hunter at heart. She loves to chase toys as if they are real. She is territorial and patrols several times each day to make certain that all is fine.",
                    "image_url" => "https://cdn2.thecatapi.com/images/06dgGmEOV.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 4,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Sweet, Active, Intelligent, Social, Playful, Lively, Curious",
                    "imperial" => "8 - 16",
                    "metric" => "4 - 7",
                    "origin" => "Norway",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Norwegian_Forest_Cat",
                ],
                [
                    "name" => "Ocicat",
                    "description" => "Loyal and devoted to their owners, the Ocicat is intelligent, confident, outgoing, and seems to have many dog traits. They can be trained to fetch toys, walk on a lead, taught to 'speak', come when called, and follow other commands. ",
                    "image_url" => "https://cdn2.thecatapi.com/images/JAx-08Y0n.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Active, Agile, Curious, Demanding, Friendly, Gentle, Lively, Playful, Social",
                    "imperial" => "7 - 15",
                    "metric" => "3 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Ocicat",
                ],
                [
                    "name" => "Oriental",
                    "description" => "Orientals are passionate about the people in their lives. They become extremely attached to their humans, so be prepared for a lifetime commitment. When you are not available to entertain her, an Oriental will divert herself by jumping on top of the refrigerator, opening drawers, seeking out new hideaways.",
                    "image_url" => "https://cdn2.thecatapi.com/images/LutjkZJpH.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Energetic, Affectionate, Intelligent, Social, Playful, Curious",
                    "imperial" => "5 - 10",
                    "metric" => "2 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Oriental_Shorthair",
                ],
                [
                    "name" => "Persian",
                    "description" => "Persians are sweet, gentle cats that can be playful or quiet and laid-back. Great with families and children, they absolutely love to lounge around the house. While they don’t mind a full house or active kids, they’ll usually hide when they need some alone time.",
                    "image_url" => null,
                    "child_friendly" => 2,
                    "dog_friendly" => 2,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 2,
                    "temperament" => "Affectionate, loyal, Sedate, Quiet",
                    "imperial" => "9 - 14",
                    "metric" => "4 - 6",
                    "origin" => "Iran (Persia)",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Persian_(cat)",
                ],
                [
                    "name" => "Pixie-bob",
                    "description" => "Companionable and affectionate, the Pixie-bob wants to be an integral part of the family. The Pixie-Bob’s ability to bond with their humans along with their patient personas make them excellent companions for children.",
                    "image_url" => "https://cdn2.thecatapi.com/images/z7fJRNeN6.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Social, Intelligent, Loyal",
                    "imperial" => "8 - 17",
                    "metric" => "4 - 8",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Pixiebob",
                ],
                [
                    "name" => "Ragamuffin",
                    "description" => "The Ragamuffin is calm, even tempered and gets along well with all family members. Changes in routine generally do not upset her. She is an ideal companion for those in apartments, and with children due to her patient nature.",
                    "image_url" => "https://cdn2.thecatapi.com/images/SMuZx-bFM.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Affectionate, Friendly, Gentle, Calm",
                    "imperial" => "8 - 20",
                    "metric" => "4 - 9",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Ragamuffin_cat",
                ],
                [
                    "name" => "Ragdoll",
                    "description" => "Ragdolls love their people, greeting them at the door, following them around the house, and leaping into a lap or snuggling in bed whenever given the chance. They are the epitome of a lap cat, enjoy being carried and collapsing into the arms of anyone who holds them.",
                    "image_url" => "https://cdn2.thecatapi.com/images/oGefY4YoG.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 3,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Friendly, Gentle, Quiet, Easygoing",
                    "imperial" => "12 - 20",
                    "metric" => "5 - 9",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Ragdoll",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "Russian Blues are very loving and reserved. They do not like noisy households but they do like to play and can be quite active when outdoors. They bond very closely with their owner and are known to be compatible with other pets.",
                    "image_url" => "https://cdn2.thecatapi.com/images/Rhj-JsTLP.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 3,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 1,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 1,
                    "temperament" => "Active, Dependent, Easy Going, Gentle, Intelligent, Loyal, Playful, Quiet",
                    "imperial" => "5 - 11",
                    "metric" => "2 - 5",
                    "origin" => "Russia",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Russian_Blue",
                ],
                [
                    "name" => "Savannah",
                    "description" => "Savannah is the feline version of a dog. Actively seeking social interaction, they are given to pouting if left out. Remaining kitten-like through life. Profoundly loyal to immediate family members whilst questioning the presence of strangers. Making excellent companions that are loyal, intelligent and eager to be involved.",
                    "image_url" => "https://cdn2.thecatapi.com/images/a8nIYvs6S.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Curious, Social, Intelligent, Loyal, Outgoing, Adventurous, Affectionate",
                    "imperial" => "8 - 25",
                    "metric" => "4 - 11",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Savannah_cat",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Scottish Fold is a sweet, charming breed. She is an easy cat to live with and to care for. She is affectionate and is comfortable with all members of her family. Her tail should be handled gently. Folds are known for sleeping on their backs, and for sitting with their legs stretched out and their paws on their belly. This is called the \"Buddha Position\".",
                    "image_url" => "https://cdn2.thecatapi.com/images/o9t0LDcsa.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 4,
                    "hypoallergenic" => 0,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Affectionate, Intelligent, Loyal, Playful, Social, Sweet, Loving",
                    "imperial" => "5 - 11",
                    "metric" => "2 - 5",
                    "origin" => "United Kingdom",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Scottish_Fold",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "The Selkirk Rex is an incredibly patient, loving, and tolerant breed. The Selkirk also has a silly side and is sometimes described as clownish. She loves being a lap cat and will be happy to chat with you in a quiet voice if you talk to her. ",
                    "image_url" => "https://cdn2.thecatapi.com/images/II9dOZmrw.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 4,
                    "hypoallergenic" => 1,
                    "intelligence" => 3,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Active, Affectionate, Dependent, Gentle, Patient, Playful, Quiet, Social",
                    "imperial" => "6 - 16",
                    "metric" => "3 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Selkirk_Rex",
                ],
                [
                    "name" => "Siamese",
                    "description" => "While Siamese cats are extremely fond of their people, they will follow you around and supervise your every move, being talkative and opinionated. They are a demanding and social cat, that do not like being left alone for long periods.",
                    "image_url" => "https://cdn2.thecatapi.com/images/ai6Jps4sx.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Active, Agile, Clever, Sociable, Loving, Energetic",
                    "imperial" => "8 - 15",
                    "metric" => "4 - 7",
                    "origin" => "Thailand",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Siamese_(cat)",
                ],
                [
                    "name" => "Siberian",
                    "description" => "The Siberians dog like temperament and affection makes the ideal lap cat and will live quite happily indoors. Very agile and powerful, the Siberian cat can easily leap and reach high places, including the tops of refrigerators and even doors. ",
                    "image_url" => "https://cdn2.thecatapi.com/images/3bkZAjRh1.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 3,
                    "temperament" => "Curious, Intelligent, Loyal, Sweet, Agile, Playful, Affectionate",
                    "imperial" => "8 - 16",
                    "metric" => "4 - 7",
                    "origin" => "Russia",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Siberian_(cat)",
                ],
                [
                    "name" => "Singapura",
                    "description" => "The Singapura is usually cautious when it comes to meeting new people, but loves attention from his family so much that she sometimes has the reputation of being a pest. This is a highly active, curious and affectionate cat. She may be small, but she knows she’s in charge",
                    "image_url" => "https://cdn2.thecatapi.com/images/Qtncp2nRe.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Affectionate, Curious, Easy Going, Intelligent, Interactive, Lively, Loyal",
                    "imperial" => "5 - 8",
                    "metric" => "2 - 4",
                    "origin" => "Singapore",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Singapura_(cat)",
                ],
                [
                    "name" => "Snowshoe",
                    "description" => "The Snowshoe is a vibrant, energetic, affectionate and intelligent cat. They love being around people which makes them ideal for families, and becomes unhappy when left alone for long periods of time. Usually attaching themselves to one person, they do whatever they can to get your attention.",
                    "image_url" => "https://cdn2.thecatapi.com/images/MK-sYESvO.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Affectionate, Social, Intelligent, Sweet-tempered",
                    "imperial" => "7 - 12",
                    "metric" => "3 - 5",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Snowshoe_(cat)",
                ],
                [
                    "name" => "Somali",
                    "description" => "The Somali lives life to the fullest. He climbs higher, jumps farther, plays harder. Nothing escapes the notice of this highly intelligent and inquisitive cat. Somalis love the company of humans and other animals.",
                    "image_url" => "https://cdn2.thecatapi.com/images/EPF2ejNS0.jpg",
                    "child_friendly" => 3,
                    "dog_friendly" => 4,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Mischievous, Tenacious, Intelligent, Affectionate, Gentle, Interactive, Loyal",
                    "imperial" => "6 - 12",
                    "metric" => "3 - 5",
                    "origin" => "Somalia",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Somali_(cat)",
                ],
                [
                    "name" => "Sphynx",
                    "description" => "The Sphynx is an intelligent, inquisitive, extremely friendly people-oriented breed. Sphynx commonly greet their owners  at the front door, with obvious excitement and happiness. She has an unexpected sense of humor that is often at odds with her dour expression.",
                    "image_url" => "https://cdn2.thecatapi.com/images/BDb8ZXb1v.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 1,
                    "health_issues" => 4,
                    "hypoallergenic" => 1,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Loyal, Inquisitive, Friendly, Quiet, Gentle",
                    "imperial" => "6 - 12",
                    "metric" => "3 - 5",
                    "origin" => "Canada",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Sphynx_(cat)",
                ],
                [
                    "name" => "Tonkinese",
                    "description" => "Intelligent and generous with their affection, a Tonkinese will supervise all activities with curiosity. Loving, social, active, playful, yet content to be a lap cat",
                    "image_url" => "https://cdn2.thecatapi.com/images/KBroiVNCM.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Curious, Intelligent, Social, Lively, Outgoing, Playful, Affectionate",
                    "imperial" => "6 - 12",
                    "metric" => "3 - 5",
                    "origin" => "Canada",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Tonkinese_(cat)",
                ],
                [
                    "name" => "Toyger",
                    "description" => "The Toyger has a sweet, calm personality and is generally friendly. He's outgoing enough to walk on a leash, energetic enough to play fetch and other interactive games, and confident enough to get along with other cats and friendly dogs.",
                    "image_url" => "https://cdn2.thecatapi.com/images/O3F3_S1XN.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Playful, Social, Intelligent",
                    "imperial" => "7 - 15",
                    "metric" => "3 - 7",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Toyger",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "This is a smart and intelligent cat which bonds well with humans. With its affectionate and playful personality the Angora is a top choice for families. The Angora gets along great with other pets in the home, but it will make clear who is in charge, and who the house belongs to",
                    "image_url" => "https://cdn2.thecatapi.com/images/7CGV6WVXq.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 2,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 5,
                    "temperament" => "Affectionate, Agile, Clever, Gentle, Intelligent, Playful, Social",
                    "imperial" => "5 - 10",
                    "metric" => "2 - 5",
                    "origin" => "Turkey",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Turkish_Angora",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "While the Turkish Van loves to jump and climb, play with toys, retrieve and play chase, she is is big and ungainly; this is one cat who doesn’t always land on his feet. While not much of a lap cat, the Van will be happy to cuddle next to you and sleep in your bed. ",
                    "image_url" => "https://cdn2.thecatapi.com/images/sxIXJax6h.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Agile, Intelligent, Loyal, Playful, Energetic",
                    "imperial" => "7 - 20",
                    "metric" => "3 - 9",
                    "origin" => "Turkey",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/Turkish_Van",
                ],
                [
                    "name" => "<NAME>",
                    "description" => "York Chocolate cats are known to be true lap cats with a sweet temperament. They love to be cuddled and petted. Their curious nature makes them follow you all the time and participate in almost everything you do, even if it's related to water: unlike many other cats, York Chocolates love it.",
                    "image_url" => "https://cdn2.thecatapi.com/images/0SxW2SQ_S.jpg",
                    "child_friendly" => 4,
                    "dog_friendly" => 5,
                    "hairless" => 0,
                    "health_issues" => 1,
                    "hypoallergenic" => 0,
                    "intelligence" => 5,
                    "short_legs" => 0,
                    "stranger_friendly" => 4,
                    "temperament" => "Playful, Social, Intelligent, Curious, Friendly",
                    "imperial" => "12 - 18",
                    "metric" => "5 - 8",
                    "origin" => "United States",
                    "wikipedia_url" => "https://en.wikipedia.org/wiki/York_Chocolate",
                ]
            ]
        );
    }
}
<file_sep>import { makeStyles, createStyles, Theme } from "@material-ui/core/styles";

export const useStyles = makeStyles((theme: Theme) =>
  createStyles({
    fullView: {
      height: "100vh",
      width: "100vw"
    },
  })
);
<file_sep><?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;

class CreateBreedsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('breeds', function (Blueprint $table) {
            $table->bigIncrements("id");
            $table->string('name');
            $table->longText('description');
            $table->longText('image_url')->nullable();
            $table->tinyInteger('child_friendly');
            $table->tinyInteger('dog_friendly');
            $table->boolean('hairless');
            $table->tinyInteger('health_issues');
            $table->boolean('hypoallergenic');
            $table->tinyInteger('intelligence');
            $table->boolean('short_legs');
            $table->tinyInteger('stranger_friendly');
            $table->string('temperament');
            $table->string('imperial');
            $table->string('metric');
            $table->string('origin');
            $table->longText('wikipedia_url')->nullable();
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('breeds');
    }
}
<file_sep>version: '3.7'
# NOTE
# ports and passwords for production porpuses should be different or stronger 
services:
  nginx:
    image: nginx:stable-alpine
    container_name: nginx
    ports: 
      - 8888:80
    volumes: 
      - ./backend:/var/www/html
      - ./nginx/default.conf:/etc/nginx/conf.d/default.conf
    restart: always
    depends_on: 
      - backend
      - mysql
    networks: 
      - app
  mysql:
    image: mysql:5.7
    container_name: mysql
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: <PASSWORD>
      MYSQL_DATABASE: vet
      MYSQL_USER: doctor
      MYSQL_PASSWORD: <PASSWORD>
    ports: 
      - "3306:3306"
    volumes: 
      - mysql-data:/var/lib/mysql
    networks:
      - app
  backend:
    build:
      context: ./backend
      dockerfile: Dockerfile
    container_name: backend
    links: 
      - mysql
    depends_on: 
      - mysql
    ports: 
      - 9000:80
    volumes:
      - ./backend:/var/www/html
    networks:
      - app
  frontend:
    build:
      context: "./frontend"
      dockerfile: Dockerfile
    container_name: frontend
    tty: true
    ports: 
      - 3000:3000
    volumes: 
      - ./frontend:/app
    depends_on: 
      - backend
    networks:
      - app
networks:
  app:
    driver: bridge
volumes:
  mysql-data:<file_sep><?php

namespace App\Http\Controllers;

use App\Models\User;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Hash;
use Illuminate\Validation\ValidationException;

class RegisterController extends Controller
{
    public function register(Request $request){
        $request->validate([
            "name" => ["required"],
            "email" => ["required", "email", "unique:users"],
            "password" => ["<PASSWORD>", "<PASSWORD>", "<PASSWORD>"]
        ]);

        $user = User::create([
            "name" => $request->name,
            "email" => $request->email,
            "password" => <PASSWORD>($request->password)
        ]);

        if ($user) {
            return response()->json([
                "user" => $user,
                "token" => $user->createToken("cat_app")->plainTextToken
            ], 200);
        }

        throw ValidationException::withMessages([
            "name" => ["The name wasn't specified"],
            "email" => ["The e-mail wasn't specified or invalid or is already picked"],
            "password" => ["<PASSWORD>"],
        ]);

    }
}
<file_sep>FROM php:7.4-fpm-alpine3.14

RUN docker-php-ext-install pdo pdo_mysql

RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

<file_sep>import { makeStyles, createStyles, Theme } from "@material-ui/core/styles";

export const useStyles = makeStyles((theme: Theme) =>
  createStyles({
    container: {
      display: "flex",
      justifyContent: "center",
      alignItems: "center",
      height: "100%",
    },
    root:{
      height: "100vh",
      width: "100vw",
      background: "url(/cat.jpg) no-repeat center center / cover"
    }
  })
);
<file_sep><?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasOne;

class Cat extends Model
{
    use HasFactory;
    protected $fillable = [
        "name",
        "age",
        "gender_id",
        "breed_id"
    ];


    /**
     * Get the breed associated with the Cat
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasOne
     */
    public function breed(): HasOne
    {
        return $this->hasOne(Breed::class);
    }

    /**
     * Get the gender associated with the Cat
     *
     * @return \Illuminate\Database\Eloquent\Relations\HasOne
     */
    public function gender(): HasOne
    {
        return $this->hasOne(Gender::class);
    }
}
<file_sep>FROM node:16.6.2-alpine3.14

WORKDIR /app

# install app dependencies
COPY package.json ./
COPY yarn.lock ./
RUN npm install --silent
RUN npm install react-scripts@3.4.1 -g --silent

# add app
COPY . ./

# start app
CMD ["npm", "start"]<file_sep>import { createSlice, PayloadAction } from "@reduxjs/toolkit";
import type { RootState } from "../";
import { UserStateType, Cat } from "../../types";

// Define the initial state using that type
const initialState: UserStateType = {
  cats: [],
  loadCatStatus: "idle",
};

export const userSlice = createSlice({
  name: "user",
  initialState,
  reducers: {
    loadCatsStart: (state) => ({
      ...state,
      cats: [],
      loadCatStatus: "loading",
    }),
    loadCatsSuccess: (
      state,
      action: PayloadAction<{ cats: Cat[]; status: string }>
    ) => ({
      ...state,
      cats: action.payload.cats,
      loadCatStatus: action.payload.status,
    }),
    loadCatsError: (state) => ({
      ...state,
      cats: [],
      loadCatStatus: "error",
    }),
    addCat: (state, action: PayloadAction<Cat>) => ({
      ...state,
      cats: [...state.cats, action.payload],
    }),
    editCat: (state, action: PayloadAction<Cat>) => ({
      ...state,
      cats: state.cats.map((cat) => ({ ...cat, ...action.payload })),
    }),
    deleteCat: (state, action: PayloadAction<number>) => ({
      ...state,
      cats: state.cats.filter((cat) => cat.id !== action.payload),
    }),
  },
});

// Other code such as selectors can use the imported `RootState` type
export const getUserCats = (state: RootState) => state.user.cats;

export default userSlice.reducer;
<file_sep>import { LoginDataType } from "../types";

export const isLoggingIn = () => !!localStorage.getItem("cat_app");
export const getLoggingData: () => LoginDataType = () => {
  const rawData = localStorage.getItem("cat_app");
  return rawData ? JSON.parse(rawData) : null;
};
export const logOut = () => {
  localStorage.getItem("cat_app") && localStorage.removeItem("cat_app");
};
<file_sep>REACT_APP_BACKEND_URL=http://localhost:8888<file_sep># Cat App 🐱😼🐱

## *Traditional enviroment*

### Requirements

- Backend: [Xamp](https://www.apachefriends.org/es/download.html) PHP 7.4, Phpmyadmin
- Frontend: [Node](https://nodejs.org/es/) Node.js and npm to execute the front end

### Initializing the project

- Backend
    - Install Xamp
    - Go to phpmyadmin and make a database called `vet`
    - In the backend folder run `composer install`
    - Copy .env.example to .env and make sure you have the same credentials of the created database, `root` and the password `<PASSWORD>` (this is only for development porpuses)
    - Run php artisan key:generate
    - Run php artisan migrate
    - Run php artisan db:seed
    - Run php artisan serve
    - Go to localhost:8000 and you should ready to go
- Frontend
    - Install node
    - In the frontend folder run `npm install && npm start`
    - Specify the backend_url in the .env
    - Go to localhost:3000 and you should ready to go

## *Docker enviroment*

### Requirements
- [Docker](https://docs.docker.com/engine/install/)
- [Docker-compose](https://docs.docker.com/compose/install/)

### Initializing the project

- Backend
    - Go to backend container
    - Run `composer install`
    - Copy .env.example to .env and make sure you have the same credentials of the created database, `root` and the password `<PASSWORD>` (this is only for development porpuses)
    - Run php artisan key:generate
    - Run php artisan migrate
    - Run php artisan db:seed
    - Go to localhost in your machine and you should ready to go

- Frontend
    - Add backend url to your `.env` file 
    - Go to localhost:3000 in your machine and you should ready to go

## *Testing*
- Frontend
Just run `npm test` in the frontend folder or container

- Backend
Just run `./vendor/bin/phpunit` in the backend folder or container

