Creating a Project Management App with Create/Update/Delete Functions Using the Python Django Framework

Creating a Project Management App with Create/Update/Delete Functions Using the Python Django Framework


Problem to solve:?

When creating a new project, it may involve numerous steps, each presenting potential issues. I might encounter various issues at each step, and getting stuck could easily happen if any of them cannot be resolved. Even if I find a solution, I may quickly forget it, leading to recurring challenges with the same issue.


To solve this issue, I want to create a web app with Django to track the projects, steps, issues and solution,? which includes:

- Create/update/delete projects

- Create/update/delete steps under each project

- Create/update/delete issues under each step

- Create/update/delete solutions under each issue

- Display all steps under a project, all issues under a step, and all solutions under an issue


So here I created my own Project Management App with python Django Framework including all the features I need, https://projectmanagement.oskarcode.com/.


And here is how I created it:?

I. Creating Models:

???- Create models for projects, steps, issues, and solutions. Establish a connection between each model using Foreign keys to reflect the hierarchical relationship: one project can have many steps, one step can have many issues, and one issue can have many solutions.

II. Creating Views:

???- Develop views for listing, creating, updating, and deleting for each model. Utilize Model.objects.all() for listing, and use appropriate methods (`request.POST`) for creating and updating.

III. Creating Templates:

???- Implement post forms for handling post methods, and use CSS boxes for visually organising lists.

IV. Creating URLs:

???- Establish paths to each view to ensure proper routing within the application.

V. Implementing Authentication:

???- Set up login/logout functionality and assign Mixin decorators to certain views. This ensures that only authenticated users can make changes to the database.

VI. Setting Up AWS Account:

???- Create a second AWS free-tier account by visiting the AWS sign-up page (https://aws.amazon.com/resources/create-account/).

VII. Cloning Repository:

???- Clone the code repository from GitHub using the git clone command, providing the necessary username and token for authentication.

VIII. Configuring Gunicorn and Nginx:

???- Set up Gunicorn socket, Gunicorn service file, and Nginx configuration file. A helpful tutorial for this process can be found at https://medium.com/@ganapriyakheersagar/hosting-django-application-with-nginx-and-gunicorn-in-production-99e64dc4345a.

IX. DNS Setup in Cloudflare:

???- Configure DNS settings in Cloudflare by adding a new A record for the new subdomain with the associated IP address.


By following these steps, I have successfully created a Project Management App by Python Django framework with the necessary functionalities and deployed it using AWS, GitHub, Gunicorn, Nginx, and Cloudflare.





要查看或添加评论,请登录

Oskar Ablimit的更多文章

社区洞察

其他会员也浏览了