This repository is a sample Python project designed to demonstrate the implementation of Continuous Integration and Continuous Delivery (CI/CD) pipelines. It is intended as an assignment for exploring automated testing, build processes, and deployment strategies.
- .: Contains the Flask API backend.
- .github/workflows/: GitHub Actions configuration files for CI/CD.
- docker-compose.yml: Orchestrates the dockerfile
Clone the repository and change into the project directory:
git clone https://github.com/hpcclab/CICD-assignment
cd CICD-assignmentBuild and start the services with Docker Compose:
(simple)
python .\app.pyUsing Docker -
docker-compose up --build- The React frontend will be available at http://localhost:3000
- The Flask backend API will run at http://localhost:5000
This repository is set up with GitHub Actions to automatically run tests and build Docker images on commits and pull requests. The CI/CD configuration can be found in the .github/workflows directory.