Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.19 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.19 KB

Christmas Code Hunt 2023

My solutions to the Shuttle.rs Christmas Code Hunt 2023

Usage

This repo uses just to run common commands. You'll need to install the following in order to use the just commands:

With everything installed, you can run the following commands:

# Compile, run, and test endpoints
just test

# Watch for file changes and run `just test` as needed
just watch

Project Layout

Each challenge day has a separate file in ./src/. Each of these files exposes a get_routes() -> axum::Router function, including all of the endpoints for that day. These routes all include their day's path number, as required by Shuttle.rs CCH. ./src/main.rs uses all of these get_routes functions to build the complete Router, and has the #[shuttle_runtime::main] attribute applied.