Implement Docker Setup for Django-React Integration
Objective
Create a Docker setup for running the Django backend and React frontend.
Background
Our current separate running of Django and React leads to environment inconsistencies and have to install the environment locally. Dockerizing both can streamline development and setup processes.
Requirements
Docker Configuration: Create a Dockerfile and docker-compose.yml to:
Run Django with Daphne as the ASGI server.
Serve the React frontend, ensuring communication with the backend.
Environment Variables: Implement necessary variables for Django and React.
Documentation: Update README with Docker setup instructions.
Testing: Validate that both Django (including WebSocket functionality) and React work in the Docker environment.
Implement Docker Setup for Django-React Integration
Objective
Create a Docker setup for running the Django backend and React frontend.
Background
Our current separate running of Django and React leads to environment inconsistencies and have to install the environment locally. Dockerizing both can streamline development and setup processes.
Requirements