Update project tree

This commit is contained in:
Vahidreza Naderi 2024-03-15 13:08:13 +01:00
parent eee3f00af7
commit 5399aef133
1 changed files with 29 additions and 29 deletions

View File

@ -34,60 +34,60 @@ project
## Project Tree ## Project Tree
``` bash ``` bash
. .
├── apps ├── apps/
│ └── example # A django rest app │ └── example/ # A django rest app
│ ├── api │ ├── api/
│ │ ├── v1 # Only the "presentation" layer exists here. │ │ ├── v1/ # Only the "presentation" layer exists here.
│ │ │ ├── __init__.py │ │ │ ├── __init__.py
│ │ │ ├── serializers.py │ │ │ ├── serializers.py
│ │ │ ├── urls.py │ │ │ ├── urls.py
│ │ │ └── views.py │ │ │ └── views.py
│ │ ├── v2 # Only the "presentation" layer exists here. │ │ ├── v2 # Only the "presentation" layer exists here.
│ │ │ ├── __init__.py │ │ │ ├── __init__.py
│ │ │ ├── serializers.py │ │ │ ├── serializers.py
│ │ │ ├── urls.py │ │ │ ├── urls.py
│ │ │ └── views.py │ │ │ └── views.py
│ │ └── __init__.py │ │ └── __init__.py
│ ├── fixtures # Constant "seeders" to populate your database │ ├── fixtures/ # Constant "seeders" to populate your database
│ ├── management │ ├── management/
│ │ ├── commands # Try and write some database seeders here │ │ ├── commands/ # Try and write some database seeders here
│ │ │ └── command.py │ │ │ └── command.py
│ │ └── __init__.py │ │ └── __init__.py
│ ├── migrations │ ├── migrations/
│ │ └── __init__.py │ │ └── __init__.py
│ ├── templates # App-specific templates go here │ ├── templates/ # App-specific templates go here
│ ├── tests # All your integration and unit tests for an app go here. │ ├── tests/ # All your integration and unit tests for an app go here.
│ ├── __init__.py
│ ├── admin.py │ ├── admin.py
│ ├── apps.py │ ├── apps.py
│ ├── __init__.py
│ ├── models.py │ ├── models.py
│ ├── services.py # Your business logic and data abstractions go here. │ ├── services.py # Your business logic and data abstractions go here.
│ ├── urls.py │ ├── urls.py
│ └── views.py │ └── views.py
├── common # An optional folder containing common "stuff" for the entire project ├── common/ # An optional folder containing common "stuff" for the entire project
├── config ├── config/
│ ├── settings.py
│ ├── asgi.py
│ ├── __init__.py │ ├── __init__.py
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py │ ├── urls.py
│ └── wsgi.py │ └── wsgi.py
├── deployments # Isolate Dockerfiles and docker-compose files here. ├── deployments/ # Isolate Dockerfiles and docker-compose files here.
├── docs ├── docs/
│ ├── CHANGELOG.md │ ├── CHANGELOG.md
│ ├── CONTRIBUTING.md │ ├── CONTRIBUTING.md
│ ├── deployment.md │ ├── deployment.md
│ ├── local-development.md │ ├── local-development.md
│ └── swagger.yaml │ └── swagger.yaml
├── requirements ├── requirements/
│ ├── common.txt # Same for all environments │ ├── common.txt # Same for all environments
│ ├── development.txt # Only for a development server │ ├── development.txt # Only for a development server
│ ├── local.txt # Only for a local server (example: docs, performance testing, etc.) │ ├── local.txt # Only for a local server (example: docs, performance testing, etc.)
│ └── production.txt # Production only │ └── production.txt # Production only
├── static # Your static files ├── static/ # Your static files
├── .env.example # An example of your .env configurations. Add necessary comments. ├── static/ # Your static files
├── static # Your static files ├── .env.example # An example of your .env configurations. Add necessary comments.
├── .gitignore # https://github.com/github/gitignore/blob/main/Python.gitignore ├── .gitignore # https://github.com/github/gitignore/blob/main/Python.gitignore
├── entrypoint.sh # Any bootstrapping necessary for your application ├── entrypoint.sh # Any bootstrapping necessary for your application
├── manage.py ├── manage.py
├── pytest.ini ├── pytest.ini
└── README.md └── README.md