Directory structure
It is important to have a project with a well-structured directory file in order for it to be much more readable, understandable, and easy to work with.
So, let’s see how we can structure our directory in order for it to be more clear. You will see in the following example the directory file architecture used for the repository, which has been created for this book using the naming convention described in the previous section.
Server architecture
For the server architecture, you will see a proposed architecture used for the repository to have clean directories.
Complete overview
See the base file structure without entering into too much detail:
. ├── artillery/ ├── scripts/ ├── migrations/ ├── src/ ├── Dockerfile ├── README.md ├── docker-compose.yml ├── migrate.ts ├──...