forked from coracle/caravel
268 B
268 B
async fn main() -> Result<()>
- Configures logging
- Creates instances of
Repo,Robot,Billing,Api, andInfra - Spawns
infra.start - Get an axum router from
api.router - Adds CORS middleware based on
origins - Calls
axum::servewith a listener