{"id":20828326,"url":"https://github.com/codewithmuh/backend-django","last_synced_at":"2026-01-24T11:04:15.345Z","repository":{"id":252757681,"uuid":"841363009","full_name":"codewithmuh/backend-django","owner":"codewithmuh","description":"This Repo is used fro backend and frontend deployment on same aws ec2 instance server.","archived":false,"fork":false,"pushed_at":"2024-08-14T07:36:54.000Z","size":4669,"stargazers_count":0,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T14:12:23.033Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithmuh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"CodeWithMuh","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-08-12T09:00:16.000Z","updated_at":"2024-08-14T07:36:57.000Z","dependencies_parsed_at":"2024-08-12T10:40:57.478Z","dependency_job_id":null,"html_url":"https://github.com/codewithmuh/backend-django","commit_stats":null,"previous_names":["codewithmuh/backend-django"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fbackend-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fbackend-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fbackend-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmuh%2Fbackend-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmuh","download_url":"https://codeload.github.com/codewithmuh/backend-django/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248153367,"owners_count":21056418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T23:14:30.841Z","updated_at":"2026-01-24T11:04:15.319Z","avatar_url":"https://github.com/codewithmuh.png","language":"Python","funding_links":["https://patreon.com/CodeWithMuh"],"categories":[],"sub_categories":[],"readme":"# Deploy React Frontend and Django Backend on the Same Server - AWS EC2 Instance\n\n![1i (57)](https://github.com/user-attachments/assets/0d84814f-8f0e-4f8f-b3fd-6fd696cbbe15)\n\n### Youtube Video: Coming Soon\n\n## Table of Contents\n\n1. [AWS EC2 Instance Setup](#aws-ec2-instance-setup)\n2. [Attaching Elastic IP](#attaching-elastic-ip)\n3. [Adding Domain on Cloudflare](#adding-domain-on-cloudflare)\n4. [Necessary Packages Installation on AWS EC2](#necessary-packages-installation-on-aws-ec2)\n5. [Frontend Deployment](#frontend-deployment)\n6. [Backend Django Deployment](#backend-django-deployment)\n7. [Nginx Setup](#nginx-setup)\n8. [Additional Notes](#additional-notes)\n\n---\n\n## AWS EC2 Instance Setup\n\n### Introduction\nSetting up an AWS EC2 instance involves selecting the right instance type, configuring security groups, and launching the server.\n\n---\n\n## Attaching Elastic IP\n\n### Introduction\nElastic IP ensures that your instance maintains a static IP address, even if the instance is stopped or restarted.\n\n---\n\n## Adding Domain on Cloudflare\n\n### Introduction\nIntegrating Cloudflare with your domain helps with DNS management, SSL/TLS encryption, and performance optimization.\n\n---\n\n## Necessary Packages Installation on AWS EC2\n\n### Introduction\nInstalling essential packages like Git, Node.js, Python, and more on your AWS EC2 instance to support your deployment.\n\n---\n\n## Frontend Deployment\n\n### Introduction\nDeploying the React frontend involves building the application and configuring the server to serve static files.\n\n---\n\n## Backend Django Deployment\n\n### Introduction\nDeploying the Django backend involves setting up the environment, configuring the database, and running the server.\n\n---\n\n## Nginx Setup\n\n### Introduction\nConfiguring Nginx as a reverse proxy to handle requests for both the frontend and backend, ensuring efficient routing and load balancing.\n\n---\n\n## Additional Notes\n\n### Introduction\nConsiderations and tips for optimizing deployment, managing server resources, and troubleshooting common issues.\n\n---\n\nThis README provides a high-level overview of the deployment process. Detailed instructions for each section will be added in the respective documentation or steps within the project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmuh%2Fbackend-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmuh%2Fbackend-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmuh%2Fbackend-django/lists"}