Commit Graph

70 Commits

Author SHA1 Message Date
ce52a944e6 Forgot to make the components use public. 2025-09-06 16:12:36 -04:00
54e54f61c0 Server was unable to see components.
Apparently this was needed for the build.
2025-09-06 16:07:08 -04:00
9679578977 Adding components and assets.
Commiting to try the library with the target dioxus project.
2025-09-06 15:05:58 -04:00
e6f3ff3c1e Setting bard to have a server mode.
This is so that the database using code that doesn't compile to WASM can
be used by the dioxus frontend.
2025-09-04 12:44:51 -04:00
1cdf5765cf Made it so that database usage can be skipped.
When using dioxus it would be greate to use the types from this library
on the backend and the front end. To do this we need to be able to cut
out the sqlx package because it uses mio which doesn't compile to WASM.

To do this we put the database code behind a database feature flag.
The Publisher feature will also trigger the database flag.
2025-09-04 12:20:48 -04:00
877d7e15a3 Initial Bard library commit.
This was added to test the database into server context pipeline.
2025-09-02 14:00:19 -04:00
3fc6bf0666 Made it so database paths are built properly. 2025-09-02 11:33:55 -04:00
a57b2db1ff [#5] Tavern components added to database. 2025-08-29 22:50:19 -04:00
89fa545ba6 [#4] Added from_config_file constructor to Tavern. 2025-08-29 22:17:27 -04:00
9fd1c2d02d Fixed a missed warning and bumped to version 0.2.1 2025-08-29 21:08:04 -04:00
5768053d0c Bumped the tavern up to version 0.2.0 2025-08-29 21:02:42 -04:00
3c6e82dfaf [#3] Split the tavern project into a workspace.
**tavern** - The blogging system library.
**loremaster** - Creates the database from a blogging repository.
**bard** - Dioxus components to display the blog.
2025-08-29 20:43:36 -04:00
7b5c69cc50 [#2] Refactored and added SQLX schema files. 2025-08-29 19:09:05 -04:00
0a16667b76 [#2] Adjusted the database to use SQLX for async.
It was determined that Async database access would be prefereable incase
we decide to use a network database instead of sqlite.

Tests and examples need to be checked, but they were made to build.
2025-08-29 18:11:17 -04:00
c9c03f9059 Contains the current package versions. 2025-08-27 20:47:20 -04:00
0d469a6cd9 Updated the version to '0.1.0'. 2025-08-27 20:46:23 -04:00
f050a8af3b [#2] Just removing unneeded functions. 2025-08-27 17:42:20 -04:00
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
35772ba1c6 Initial commit 2025-08-20 16:55:56 -04:00