rust-lang-ve / hilow

"Hilow" is a microblogging social feed where users are able to share they thoughts on different topics
Other
3 stars 4 forks source link

Feature | Routes and bin:lib crate architecture #3

Closed EstebanBorai closed 3 years ago

EstebanBorai commented 3 years ago

In order to provide a more HTTP server idiomatic structure a "router" module is implemented in charge of "wiring up" HTTP services to the main Actix instance.

The structure of the project is reworked as well to accomplish a the Rust convention of disengaging executable logic from application logic.

EstebanBorai commented 3 years ago

@morenol would be nice to have #2 merged before going through this PR.

Anyway if you wanna take a look go ahead! Let me know any ideas/suggestions please!