Project: Simple Social: Async API & Media Architecture
The Objective
To architect a modern, decoupled social media backend capable of handling secure user authentication, session management, and real-time media processing. The challenge was building a lightweight, non-blocking system that efficiently routes media to cloud storage rather than bottlenecking the local server.
Technical Stack
- Core Backend:
- FastAPI (Python), SQLAlchemy (AsyncIO), SQLite
- Authentication:
- JWT (fastapi-users)
- Cloud Infrastructure:
- ImageKit.io CDN
- Client:
- Streamlit, REST APIs (requests)
Architecture & Execution
Asynchronous API Design
Engineered a non-blocking REST API utilizing FastAPI and async database sessions to handle concurrent user requests efficiently.
Cloud Media Pipeline
Integrated ImageKit.io to offload heavy media storage and delivery, ensuring scalable image and video handling independent of the core application server.
Security & Auth
Implemented a robust JWT-based authentication system for secure user registration, login, and protected route management.
Client Integration
Developed a custom client application to consume the API endpoints, demonstrating end-to-end data flow from database to UI.
Business Impact
Demonstrates the ability to design secure, decoupled backend systems, integrate third-party cloud infrastructure for resource-heavy operations, and deliver production-ready REST APIs.