Python·100 questions

How to organize project structure for an application?

Answer
Separate domain/logic and infrastructure (IO).
Don't mix API layer and business logic.
Keep dependencies explicit.
Add tests/ next to code or separately.
Extract configs into a separate module.
Was this answer helpful?

More questions in this topic

Related questions from other topics