An example project to get warp and bb8_postgres working.
- Set .env varables
- Run
cargo run
Envirment variable DB_INFO
can be a database url or key=value
diveded by spaces.
The server returns {"message": "Hello World" }
on /
and {"message": "yo" }
on /yo
.