Questions tagged [project-structure]
Structure of files, folders and repositories used to organize project artifacts
203 questions
-1 votes
2 answers
214 views
Does it make sense to use next.js only for the front-end?
We need to do the front-end with spa. The question is whether to use a full-stack framework like next.js, but only the front-end part, without server-side components. If I don't use them, could these ...
2 votes
4 answers
344 views
Where, in a repository, should I put source code for tools used in the build only?
Suppose I have a repository for an application app_a. To build app_a, one needs to compile some sources (e.g. file1 and file2, never mind the file suffixes), but - it is also necessary to: Apply some ...
2 votes
3 answers
270 views
How to decouple spagheti code for unit tests [duplicate]
A little background on the project: we as a company receive a spaghetti source code, and into that we add even more spaghetti code. So with that I want to say that complete restructuring and ...
1 vote
0 answers
520 views
How to structure your Python code with asynchronous and synchronous parts
I have a Python FastAPI server application which naturally guides you towards the asynchronous paradigm. For legacy reasons, I have to support two backends, one which is purely synchronous and one ...
1 vote
1 answer
667 views
Designing Clean Architecture(Hexagonal) for a Spring Boot Application : Project Layout and Class Organization
I'm currently in the process of integrating Clean Architecture into my Spring Boot project and I'm seeking advice on the ideal project structure and the types of classes and projects that should be ...
0 votes
1 answer
373 views
Should you add the name of the package to the module/package name in Python? [closed]
I'm looking for some best practices for readability (and clean code in general) for naming modules/classes within more extensive projects. More specifically, is it reasonable to add the package's name ...
0 votes
0 answers
55 views
Publish a trivial libraries separately or as a collection
As an individual developer, I often find need to write a trivial (let's say, under 100 SLOC + tests + docs + build system config) library that helps me to write code of some other (large) project in a ...
0 votes
1 answer
246 views
Where should research and production code reside in git?
We have research code that consists of Jupyter notebooks and large data files. At the same time, we also have production code that consists of Python source and CloudFormation templates. There is ...