mirror of
https://github.com/Xevion/banner.git
synced 2026-01-31 00:23:31 -06:00
Implements POST /api/timeline endpoint that aggregates enrollment by subject over 15-minute slots, filtering courses by their actual meeting times. Includes ISR-style schedule cache with hourly background refresh using stale-while-revalidate pattern, database indexes for efficient queries, and frontend refactor to dynamically discover subjects from API.
20 lines
370 B
Rust
20 lines
370 B
Rust
//! Web API module for the banner application.
|
|
|
|
pub mod admin;
|
|
pub mod admin_rmp;
|
|
pub mod admin_scraper;
|
|
#[cfg(feature = "embed-assets")]
|
|
pub mod assets;
|
|
pub mod auth;
|
|
pub mod calendar;
|
|
#[cfg(feature = "embed-assets")]
|
|
pub mod encoding;
|
|
pub mod extractors;
|
|
pub mod routes;
|
|
pub mod schedule_cache;
|
|
pub mod session_cache;
|
|
pub mod timeline;
|
|
pub mod ws;
|
|
|
|
pub use routes::*;
|