Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 942 Bytes

readme.md

File metadata and controls

21 lines (12 loc) · 942 Bytes

gotham-router-composition

A small example demonstrating one way to compose a router in gotham

Welcome! To read more, read my initial blog post outlining the idea on my website. If you have ideas on how to make this better or find a bug let me know in the issues!

Installation and running

This project is meant to be run on the latest stable Rust. I recommend unstalling Rust via rustup. Because of the small scope of this project, getting up and running should only be a single command.

cargo run

If that was successful, you can now make a request to http://localhost:7878/api/ping and http://localhost:7878/api/users!

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.