AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
How to Clean Up Your Code in Rust
In Rust it's called like a module so if you start your application and you see this sort of pieces of code belong together and it shouldn't be in the main folder. You can create for example like a routes of a folder where for each endpoint you compose your routes and even maybe have your route handlers there. It's just a neat way of separating out your code which you just yeah cleaning up I guess. The other topics in theapi section was databases but we're gonna skip over that here.