Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This is a web-app created using Python, Django. By using this user can login, upload files and also can view and download files uploaded by other users.

License

Notifications You must be signed in to change notification settings

GOPALGTM/Django-WebApp

Open more actions menu
 
 

Repository files navigation

Django-WebApp GitHub

A modern Django web application deployed on AWS EKS with complete CI/CD pipeline, container security scanning, and Kubernetes orchestration.

Assignment Problem Statement:

Part 1:

  1. Create a web-app where a user can login.
  2. User can upload files.
  3. User can view his/her uploaded files.

Part 2:

  1. User can search and view profile of other users.
  2. They can share their uploaded files with any of those users.
  3. Users can see the shared files by other users also in uploaded files.

Additional Features:

  1. In users profile user can set his/her profile picture.
  2. Users can download other users uploaded files.
  3. The user can upload any type of files such as images, videos, text files and also different types of programs like python code, java code, etc.

Technologies Used:

  • Python
  • Django
  • Bootstrap
  • JavaScript

DevOps Technologies:

  • Docker - Containerization
  • Kubernetes (EKS) - Container orchestration
  • AWS ECR - Container registry
  • GitHub Actions - CI/CD pipeline
  • Terraform - Infrastructure as Code
  • Trivy - Container security scanning
  • NGINX Ingress Controller - Load balancing

Additional Python Modules Required:

  • Django
  • django-crispy-forms
  • Pillow

Note :

The Secret_Key required for the execution and debugging of project is not removed from the project code. So you can use the project as your college mini-project or by using the project code you can build your own project.

Quick Start:

Local Development

# Migrations
python django_web_app/manage.py makemigrations
python django_web_app/manage.py migrate

# Run server
python django_web_app/manage.py runserver

Visit: http://localhost:8000

AWS Deployment (CI/CD)

The application automatically deploys to AWS EKS when you push to the main branch via GitHub Actions pipeline.

Pipeline includes:

  • ✅ Automated testing and linting
  • ✅ Docker image build with timestamp tagging
  • ✅ Security scanning with Trivy
  • ✅ Push to AWS ECR
  • ✅ Kubernetes deployment update

See docs/setup.md and docs/deployment.md for detailed instructions.

Working:

Watch the video

Screenshots :

About

This is a web-app created using Python, Django. By using this user can login, upload files and also can view and download files uploaded by other users.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 35.9%
  • Python 32.1%
  • HTML 26.6%
  • Dockerfile 2.9%
  • CSS 2.0%
  • JavaScript 0.5%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.