This repository contains a full-stack web application built with React for the frontend, Django for the backend, and MySQL as the database, all orchestrated using Docker Compose.
- Frontend built with React, providing a user-friendly interface.
- Backend powered by Django, offering RESTful API endpoints.
- MySQL database for storing application data.
-
Navigate to the
backend
folder and build the image:docker build -t django-image:latest .
-
Move to the
frontend
folder and build the image:docker build -t react_img:latest .
-
Return to the root folder and run the command:
docker-compose up -d
- Customize Dockerfiles and configurations for individual services as required.
- Ensure alignment of React and Django configurations with the Docker services and network setups specified in docker-compose.yml.
- Persistent data storage for the MySQL service is maintained in the ./mysql directory. Modify the volume mount as needed.