{"repo":"cglusky/docker-django-react","free":true,"listed":false,"github":"https://github.com/cglusky/docker-django-react","clone":"git clone https://github.com/cglusky/docker-django-react.git","description":"A local dev full-stack template using docker-compose with Django and React.","language":"Python","stars":69,"topics":["docker","docker-compose","django","django-rest-framework","react","fullstack"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"docker-django-react Project Status Dec 2023 Although I do not use Django or React these days, I know someone who does. Special thanks to @crhowell for helping me get this updated after three years of neglect. Seems like a few people have found it useful, so we will try to give it a little more love. Latest updates are mostly lessons learned, house keeping and version bumps. Basics A slightly opinionated local dev full stack template using docker-compose with Django backend and React frontend; all served behind NGINX. Keeping the full stack in one repo for ease of use. Composed of ideas from multiple tutorials, forum threads and official docs. Nothing original here. Main Frameworks/Libraries/Packages Please see requirements.txt and package.json for full details. Django - Django v5 - Django Rest Framework - Django Rest Framework Simple JWT - PyTest React - Create React App - Node dev server via Docker LTS alpine image - Hot reload Postgress - Docker v16.1 alpine image Ngnix - Docker stable alpine - Serves Django's static and media files as well. See conf for details. Notes Django - One app created/installed called core - Custom user stubbed out in the Core app. No additional fields. Just a blank class that inherets AbstractUser. core.User is assigned as AUTH USER MODEL - SimpleJWT is installed but not used. Fork or Template Feel free to fork at will but it may be handier as template. The following are the steps I had in mind for using it as a project template: 1. Create a new r","default_branch":null,"files":null,"tree":[],"storefront":"/r/cglusky","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cglusky/docker-django-react/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}