Skip to content

The Plan #6

@jwjacobson

Description

@jwjacobson

I had been building this app with no database: the "database" was to be a bunch of text files in certain directories. The cutting edge of that approach can be seen in the current state of the main branch.

I have since taken inspiration from Brian Okken's cards app to instead use a Book object and corresponding tinydb database. In fact I am adopting his whole approach in that app for its elegance and simplicity. I have created api and db modules modeled after his and am writing tests as I go. Once all that is solid I will convert the existing code (from get_text, get_books, and cli) to use Book objects. Book full texts and summaries will still be saved to files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions