# In-memory 'database' for prototype

books_db = [
    {"id": 1, "title": "1984", "author": "George Orwell", "genre": "Dystopian"},
    {
        "id": 2,
        "title": "To Kill a Mockingbird",
        "author": "Harper Lee",
        "genre": "Classic",
    },
    {
        "id": 3,
        "title": "Sapiens: A Brief History of Humankind",
        "author": "Yuval Noah Harari",
        "genre": "Non-fiction",
    },
    {"id": 4, "title": "Educated", "author": "Tara Westover", "genre": "Memoir"},
    {"id": 5, "title": "Becoming", "author": "Michelle Obama", "genre": "Memoir"},
    {"id": 6, "title": "The Alchemist", "author": "Paulo Coelho", "genre": "Adventure"},
    {
        "id": 7,
        "title": "The Book Thief",
        "author": "Markus Zusak",
        "genre": "Historical Fiction",
    },
    {
        "id": 8,
        "title": "The Night Circus",
        "author": "Erin Morgenstern",
        "genre": "Fantasy",
    },
    {
        "id": 9,
        "title": "The Goldfinch",
        "author": "Donna Tartt",
        "genre": "Literary Fiction",
    },
    {
        "id": 10,
        "title": "Normal People",
        "author": "Sally Rooney",
        "genre": "Contemporary Fiction",
    },
    {
        "id": 11,
        "title": "The Silent Patient",
        "author": "Alex Michaelides",
        "genre": "Thriller",
    },
    {
        "id": 12,
        "title": "Where the Crawdads Sing",
        "author": "Delia Owens",
        "genre": "Mystery",
    },
    {
        "id": 13,
        "title": "Little Fires Everywhere",
        "author": "Celeste Ng",
        "genre": "Domestic Fiction",
    },
    {
        "id": 14,
        "title": "The Water Dancer",
        "author": "Ta-Nehisi Coates",
        "genre": "Historical Fiction",
    },
    {
        "id": 15,
        "title": "American Dirt",
        "author": "Jeanine Cummins",
        "genre": "Thriller",
    },
    {
        "id": 16,
        "title": "The Midnight Library",
        "author": "Matt Haig",
        "genre": "Fantasy",
    },
    {
        "id": 17,
        "title": "The Vanishing Half",
        "author": "Brit Bennett",
        "genre": "Historical Fiction",
    },
    {
        "id": 18,
        "title": "Anxious People",
        "author": "Fredrik Backman",
        "genre": "Humor",
    },
    {
        "id": 19,
        "title": "The Four Winds",
        "author": "Kristin Hannah",
        "genre": "Historical Fiction",
    },
    {
        "id": 20,
        "title": "The Invisible Life of Addie LaRue",
        "author": "V.E. Schwab",
        "genre": "Fantasy",
    },
    {"id": 21, "title": "Circe", "author": "Madeline Miller", "genre": "Fantasy"},
    {
        "id": 22,
        "title": "The Overstory",
        "author": "Richard Powers",
        "genre": "Environmental Fiction",
    },
]
