Skip to content
A small example demonstrating one way to compose a router in gotham
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
CODE_OF_CONDUCT.md
Cargo.toml
LICENSE.md
readme.md

readme.md

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!

code of conduct

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.

license

You can’t perform that action at this time.