web: refactor code into separate modules

This commit is contained in:
2023-12-02 09:29:50 -08:00
parent cfe1446668
commit 0a7cdefda3
6 changed files with 1350 additions and 1356 deletions

2
web/src/consts.rs Normal file
View File

@@ -0,0 +1,2 @@
pub const SEARCH_RESULTS_PER_PAGE: usize = 20;
pub const USE_GRAPHQL: bool = true;