A portfolio project focused on backend API engineering, frontend integration, automated testing, configuration management, and cloud-deployment readiness.
- Flask REST API design
- Frontend-to-backend API integration
- CORS configuration
- Environment-based configuration
- Input validation and error handling
- Automated backend tests with
pytest - Production server readiness with Gunicorn
- Separation between backend and frontend deployment targets
Browser Frontend
│
│ HTTP / JSON
▼
Flask API
│
├── Validation
├── Error Handling
└── Business Logic
Deployment model:
Frontend → Netlify
Backend → Railway / Render-compatible service
backend/
├── Flask API
├── tests/
├── requirements.txt
└── environment configuration
frontend/
├── responsive assessment UI
└── API configuration
- API responses are separated from frontend presentation logic.
- Allowed frontend origins are configurable through environment variables rather than hard-coded deployment values.
- Validation and error handling are implemented server-side.
- The backend includes automated tests and a production-compatible start command.
- The frontend consumes the backend through a configurable public API URL.
cd backend
python -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
python main.pycd frontend
python -m http.server 5500Open http://127.0.0.1:5500.
cd backend
pytest- Push the repository to GitHub.
- Deploy
backend/to Railway, Render, or a compatible Python platform. - Configure
ALLOWED_ORIGINSusing environment variables. - Obtain the public backend URL.
- Update the frontend API configuration with that URL.
- Deploy
frontend/to Netlify or another static hosting provider. - Add the deployed frontend origin to the backend CORS configuration.
- Run an end-to-end test of the complete flow.
This project intentionally focuses on the integration boundary between a browser client and a deployed backend service. It demonstrates the fundamentals needed for larger backend systems: API contracts, validation, configuration, testing, CORS, environment separation, and deployment planning.
For larger backend/cloud-oriented systems, see:
- FlowGuard — Agentic Automation Control Plane
- TrustFlow Sentinel
- RepoRadar AI
- Ahmed Software Engineering Portfolio
This is a personal portfolio demonstration project and is not presented as paid client work.