From 069560b4451bcbca25c1baeed7789e2816c7f1bb Mon Sep 17 00:00:00 2001 From: Daniel Cuznetov Date: Tue, 22 Oct 2024 11:24:42 +0300 Subject: [PATCH 1/3] Add Milestone 5 --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index a09daee..46fb1ac 100644 --- a/README.md +++ b/README.md @@ -191,6 +191,35 @@ In this milestone we start to improve our application. for each user https://github.com/jazzband/django-redis 8. Create Dockerfile for your application to run it with docker-compose command +### Milestone 5 + +In this milestone we will improve the application with new features and third-party services. + +#### What will you learn + +1. How to work with MinIO (S3 compatible storage) +2. How to work with celery and redis +3. How to work with django signals +4. How to use django templates +5. How to work with elastic search +6. How to integrate third-party authentication + +#### Tasks + +1. Use MinIO as static and media storage for your application https://pypi.org/project/django-minio-backend/ +2. Create a new model "Attachment" with file field and task foreign key (use MinIO for storage) +3. Add attachment to task - user send task_id and file and receive successful response after adding attachment to task +4. Get list of attachments by task - user send task_id and receive list of all attachments added to this task +5. Send all email notifications with celery https://docs.celeryproject.org/en/stable/django/first-steps-with-django.html +6. Create celery beat task that will create a report with top 20 tasks by time for each user using Django templates and + send it by email to each user one time per week +7. Create a signal handler that will create a new task in elastic search when task or comment is created or + updated https://elasticsearch-dsl.readthedocs.io/en/latest/ +8. Create endpoint that will search by choosing task field or comment in elastic + search +9. Add third-party authentication with GitHub https://django-allauth.readthedocs.io/en/latest/ +10. Add all this to your docker-compose file and test it + ## Congratulations! Congratulations on your job well done. We appreciate your dedication, and we look forward to seeing your career From 67729542c98904ad4f9111c5d30e492639a122a7 Mon Sep 17 00:00:00 2001 From: Daniel Cuznetov Date: Tue, 22 Oct 2024 11:28:16 +0300 Subject: [PATCH 2/3] Add in Milestone 5 task with github actions --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 46fb1ac..5e71942 100644 --- a/README.md +++ b/README.md @@ -203,6 +203,7 @@ In this milestone we will improve the application with new features and third-pa 4. How to use django templates 5. How to work with elastic search 6. How to integrate third-party authentication +7. How to setup github actions for CI/CD #### Tasks @@ -219,6 +220,7 @@ In this milestone we will improve the application with new features and third-pa search 9. Add third-party authentication with GitHub https://django-allauth.readthedocs.io/en/latest/ 10. Add all this to your docker-compose file and test it +11. Create a github action that will run ruff lint and tests on each pull request ## Congratulations! From 102b6e3b7f37b3c98dfdb30bc87dbee0f973b463 Mon Sep 17 00:00:00 2001 From: Daniel Cuznetov Date: Tue, 22 Oct 2024 11:30:48 +0300 Subject: [PATCH 3/3] Add comments --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e71942..ad3356f 100644 --- a/README.md +++ b/README.md @@ -220,7 +220,7 @@ In this milestone we will improve the application with new features and third-pa search 9. Add third-party authentication with GitHub https://django-allauth.readthedocs.io/en/latest/ 10. Add all this to your docker-compose file and test it -11. Create a github action that will run ruff lint and tests on each pull request +11. Create a github action that will run ruff lint and tests on each pull request https://github.com/features/actions ## Congratulations!