adds hello world, adds architecture doc

This commit is contained in:
cascode _ 2023-10-17 16:13:55 -04:00 committed by cascode
parent 87492e0e78
commit cef67c7cc5
3 changed files with 27 additions and 0 deletions

7
ARCHITECTURE.md Normal file
View File

@ -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.

9
Cargo.toml Normal file
View File

@ -0,0 +1,9 @@
[package]
name = "aural_isle"
version = "0.1.0"
edition = "2021"
[dependencies]
tokio = { version = "1.2", features = ["full"] }
warp = "0.3"

11
src/main.rs Normal file
View File

@ -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;
}