Added x-environment: &dev-environement as a way to share environment varaibles across services
Added comments to better navigate between services
TBD reverted to 'postgres', 'redis',
Configured jasma-api-server as server
I revoed -dev from the services names, but kept it for the images names (simplifies the relationship between services as it will stay the same in prod)
Added a volume so /backend maps to the containe /backend to test changes 'real-time'
DOCS.md
Some changes to constant names got carrid over most notable NODE_ENV becomes STAGE
backend/.env.example
Should not be needed anymore (TBD)
backend/docker-entrypoint.sh
Will run migration at every start
backend/Dockerfile
Writen
backend/pyproject.toml
Poetry config file (we should figure a unified way to manage dependencies)
In docker requirements.txt will superseed
backend/requirements.txt
Updated, but no way to distinguish --dev dependencies (pipenv or poetry could allow that)
backend/api/generate_fake_db.py
Mostly refactor of class names to make linter quiet and adhere to python naming convention
Replaced unused variables with _ as per python convention
Remove unused variables that has no utsefulness
backend/api/models.py
Mostly refactor of class names to make linter quiet and adhere to python naming convention
Replace 'self' where it is supposed to be a self (I know self is a convention but it helps to know that its self)
Post/Comment now ordered latest first
A forgottent @ was added to staticmethod
backend/api/tests.py
Mostly refactor of class names to make linter quiet and adhere to python naming convention
Replace 'cls' where it is supposed to be a cls (I know self is a convention but it helps to know that its cls)
Added a comment at a plae where there is really weird logic (return self.assertTrue(False)) might as well return False
backend/api/urls.py
Started reworking the routing schema (nothing was working when using init.py
backend/api/views.py
Removed as I believe it's interfering with the views folder so they namespace gets confused.
backend/api/constants/init.py
Added comment on how we could rework constants to be semantically more meaning full
Notely avoid * import
backend/api/urls/user_urls.py
Remove a * import that doesn't seem to be used anyway
docker-compose-development.yml
DOCS.md
backend/.env.example
backend/docker-entrypoint.sh
backend/Dockerfile
backend/pyproject.toml
backend/requirements.txt
backend/api/generate_fake_db.py
backend/api/models.py
backend/api/tests.py
backend/api/urls.py
backend/api/views.py
backend/api/constants/init.py
backend/api/urls/user_urls.py
backend/api/utils/handle_file_delete.py / backend/api/utils/handle_file_save.py
backend/api/views/init.py
backend/api/views/auth_views.py
backend/api/views/comment_views.py
backend/api/views/hashtag_views.py
backend/api/views/media_views.py
backend/api/views/notification_views.py
backend/api/views/post_views.py