Improve wording

This commit is contained in:
Yerassyl Zhanymkanov
2022-08-16 20:48:43 +06:00
parent 2ad35e61cd
commit 31236509fb

View File

@@ -55,7 +55,7 @@ fastapi-project
├── logging.ini ├── logging.ini
└── alembic.ini └── alembic.ini
``` ```
1. Store all the module directories inside src folder 1. Store all domain directories inside `src` folder
1. `src/` - highest level of an app, contains common models, configs, and constants, etc. 1. `src/` - highest level of an app, contains common models, configs, and constants, etc.
2. `src/main.py` - root of the project, which inits the FastAPI app 2. `src/main.py` - root of the project, which inits the FastAPI app
2. Each package has its own router, schemas, models, etc. 2. Each package has its own router, schemas, models, etc.