This project is a cloud-native SaaS (Software-as-a-Service) task management tool built using modern DevOps and cloud technologies. It demonstrates a real-world CI/CD pipeline, **secure[...]
Provides RESTful API endpoints for task management.
Python (Flask), SQLAlchemy (ORM), PostgreSQL.
- Fetch all tasks (
GET /tasks) - Add a new task (
POST /tasks) - Update a task (
PUT /tasks/<id>) - Delete a task (
DELETE /tasks/<id>)
Stores task data persistently in the cloud.
AWS RDS (Relational Database Service) - PostgreSQL
- Provides a fully managed SQL database.
- Handles backups, patching, and scaling automatically.
- Integrated with AWS security best practices.
Ensures the application runs consistently in any environment.
Docker
- Defines an isolated runtime environment.
- Eliminates “works on my machine” problems.
- Simplifies deployment and scalability.
Orchestrates and scales containers efficiently.
AWS EKS (Elastic Kubernetes Service)
- Manages multiple containers across multiple machines.
- Automatically scales applications based on demand.
- Ensures high availability and reliability.
Automates testing, security scanning, and deployment.
GitHub Actions
- Runs tests automatically on every code change.
- Builds and pushes Docker images to AWS ECR.
- Deploys to AWS EKS automatically.
Automates AWS resource provisioning.
Terraform
- Manages AWS RDS (PostgreSQL), AWS EKS, AWS S3, IAM roles.
- Defines cloud infrastructure as code.
- Ensures consistent deployments across environments.
Ensure a secure application and infrastructure.
Flask-Talisman, AWS IAM, TLS Encryption.
- Flask-Talisman secures HTTP headers.
- AWS IAM Roles follow the principle of least privilege.
- Docker security scanning ensures no vulnerabilities.
- HTTPS enforced for secure communication.
Monitor performance and troubleshoot issues.
AWS CloudWatch
- Tracks API response times, errors, and logs.
- Sends alerts via AWS SNS when an issue is detected.
- Provides real-time monitoring dashboards.
Automates background tasks.
AWS Lambda + SES (Simple Email Service)
- Sends email notifications when a task is created.
- Runs event-driven workflows without servers.
1️⃣ User creates a task → The Flask API saves it in AWS RDS.
2️⃣ Task is stored in a managed PostgreSQL database.
3️⃣ Dockerized application runs inside AWS EKS (Kubernetes).
4️⃣ GitHub Actions pipeline tests, builds, and deploys the application automatically.
5️⃣ Terraform provisions AWS resources automatically.
6️⃣ AWS CloudWatch monitors logs and performance.
7️⃣ AWS Lambda sends email notifications when tasks are created.
✅ Demonstrates full CI/CD automation with GitHub Actions
✅ Uses Infrastructure as Code (Terraform) for AWS provisioning
✅ Deploys with Kubernetes & Docker for scalability
✅ Ensures security with IAM, TLS, and security scanning
✅ Implements monitoring with CloudWatch & alerts with SNS
✅ Builds a RESTful API using Python & Flask
✅ Manages data with SQLAlchemy & PostgreSQL
✅ Uses AWS Lambda for serverless automation
- Add frontend (React or Vue.js)
- Improve task management features (authentication, UI, etc.)
- Use AWS DynamoDB for NoSQL scalability
- Implement GraphQL for better API performance
You can download the latest version of this project as a ZIP file.
Let me know if you need modifications or additional features! 🚀
MIT License
Copyright (c) 2025 Lukas Londono
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.