Skip to content

mike-engel/gotham-router-composition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages