Folder Structure for Related Data Such as Structs, Traits e.t.c

So lets say you are building a blog web application using axum and you use MVC folder structure, which folder should data such as structs, traits e.t.c related to users or posts be placed based on industry standard or best practice.
So for example if I want to create a struct for a post, which folder and file should you place the post struct in. Same for users and traits definitions.

Thanks.

This prior discussion on a very similar topic, How to organize modules for a Rust web service, may help.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.