Commit Graph

2 Commits

Author SHA1 Message Date
ab83c7afb6 [#2] Database integration complete.
Posts and Authors can now be inserted and retrieved from the database
created. It was decided to use a SQLite database for it high read spead
and ease of use/maintenance.

A build feature was created to seperate how the library is being used.
If you are making the database and storing posts, then use the publisher
flag. If you are just reading from a database then do not use the
publisher flag. This was also set to change the tale contents from a
PathBuf to the String of HTML blog data without having to create a whole
new data object.

An example and a test were made. Test coverage needs to be increased
however.
2025-08-27 17:36:06 -04:00
9dd87d0e42 [#1] Blog metadata can be stored using serde.
Created the initial blog data, posts and authors, and allows it to
be stored using serde.
2025-08-22 10:46:38 -04:00