This is just a simple repo to test Shuttle.
This example can be found online here.
- "/" -> will return an html.
- "/todos" -> will return a list of all the notes.
- "/todos/{whatever}" -> will add a note to the database.
We're using only the GET
verb even for inserts just for the sake of simplicity.
cargo shuttle deploy
cargo shuttle run