diff --git a/ARCHITECTURE.md b/ARCHITECTURE.md new file mode 100644 index 0000000..317c99b --- /dev/null +++ b/ARCHITECTURE.md @@ -0,0 +1,7 @@ +# Architecture Details + +This is a living document describing the architectural decisions made as part of the development of this project, along with any necessary context around the decisions made. + +## Base Architectural Decisions + +At the inception of the project, we decided to use Rust as our language of choice and Warp as our web framework. This decision was based on team skills, future capabilities, and current best practices for building web applications in Rust. \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..b1a25df --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "aural_isle" +version = "0.1.0" +edition = "2021" + +[dependencies] +tokio = { version = "1.2", features = ["full"] } +warp = "0.3" + diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..7f6bb1f --- /dev/null +++ b/src/main.rs @@ -0,0 +1,11 @@ +use warp::Filter; + +#[tokio::main] +async fn main() { + let hello = warp::get() + .map(|| format!("Hello world!")); + + warp::serve(hello) + .run(([127, 0, 0, 1], 5309)) + .await; +} \ No newline at end of file