Skip to content

Latest commit

 

History

46 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHASE 1 — Project Setup ✅

Build:

  • React frontend
  • FastAPI backend
  • PostgreSQL database

Do:

  • Setup repository
  • Setup TypeScript
  • Setup FastAPI
  • Setup PostgreSQL connection

Learn:

  • Client-server architecture
  • REST APIs
  • Environment variables

PHASE 2 — Basic Todo CRUD ✅

Build:

  • Create Todo
  • Update Todo
  • Delete Todo
  • Complete Todo

Learn:

  • HTTP methods
  • CRUD operations
  • Database schema design

PHASE 3 — Database Design ✅

Build:

  • Users table
  • Todos table
  • Projects table

Learn:

  • Foreign keys
  • Relationships
  • Indexes
  • Constraints

PHASE 4 — Authentication ✅

Build:

  • Signup
  • Login
  • Logout

Learn:

  • JWT
  • Access tokens
  • Refresh tokens
  • Password hashing

PHASE 5 — Authorization ✅

Build:

  • Owner
  • Admin
  • Member

Learn:

  • RBAC
  • Permission systems
  • Middleware

PHASE 6 — Validation ✅

Build:

  • Request validation

Learn:

  • Pydantic
  • DTOs
  • Data validation

PHASE 7 — File Uploads ✅

Build:

  • Profile picture
  • Todo attachments

Learn:

  • Multipart forms
  • Object storage
  • File processing

PHASE 8 — Redis Introduction ✅

Build:

  • Cache user profiles

Learn:

  • Key-value stores
  • Cache-aside pattern
  • TTL

PHASE 9 — Sessions ✅

Build:

  • Session storage

Learn:

  • Session management
  • Redis sessions

PHASE 10 — Rate Limiting ✅

Build:

  • Limit API abuse

Learn:

  • Sliding windows
  • Token bucket
  • Distributed rate limiting

PHASE 11 — WebSockets ✅

Build:

  • Live todo updates

Learn:

  • Persistent connections
  • Real-time communication

PHASE 12 — Presence System ✅

Build:

  • Total Online users
  • Total no of todos and projects Created

Learn:

  • Connection tracking
  • State synchronization

PHASE 13 — Notifications ✅

Build:

  • Real-time notifications

Learn:

  • Event systems
  • Notification architecture

PHASE 14 — Background Jobs ✅

Build:

  • Reminder processing

Learn:

  • Workers
  • Async processing

PHASE 15 — Email Service ✅

Build:

  • Verification emails
  • Reminder emails

Learn:

  • SMTP
  • Queues

PHASE 16 — Search ✅

Build:

  • Search todos

Learn:

  • Full-text search
  • Query optimization

PHASE 17 — Activity Feed ✅

Build:

Todo Created
Todo Completed
Todo Updated

Learn:

  • Audit logs
  • Event sourcing basics

PHASE 18 — Logging ✅

Build:

  • Structured logs

Learn:

  • Log levels
  • Correlation IDs

PHASE 19 — Monitoring ✅

Build:

  • Prometheus metrics

Learn:

  • Metrics
  • Latency
  • Throughput

PHASE 20 — Grafana Dashboards ✅

Build:

  • Request dashboard
  • User dashboard

Learn:

  • Observability

PHASE 21 — Loki ✅

Build:

  • Centralized logs

Learn:

  • Log aggregation

PHASE 22 — Tempo ✅

Build:

  • Request tracing

Learn:

  • Distributed tracing

PHASE 23 — Docker ✅

Containerize:

  • Frontend
  • Backend
  • Redis
  • PostgreSQL

Learn:

  • Images
  • Volumes
  • Networks

PHASE 24 — Docker Compose ✅

Build:

  • One-command startup

Learn:

  • Service orchestration

PHASE 25 — CI/CD ✅

Build:

  • Automated deployment

Learn:

  • GitHub Actions
  • Pipelines

PHASE 26 — Production Deployment ✅

Deploy:

  • VPS

Learn:

  • Nginx
  • SSL
  • Domains

PHASE 27 — Reverse Proxy ✅

Build:

  • Nginx routing

Learn:

  • Load balancing
  • Reverse proxies

PHASE 28 — AI Todo Creation

Build:

Create a task to study DSA tomorrow at 7 PM

AI creates task.

Learn:

  • LLM APIs
  • Prompt engineering

PHASE 29 — AI Task Breakdown

Build:

Build a startup

Subtasks generated.

Learn:

  • Agent workflows

PHASE 30 — AI Weekly Planner

Build:

  • Weekly scheduling

Learn:

  • Tool calling
  • Context management

PHASE 31 — Calendar Integration

Build:

  • Google Calendar sync

Learn:

  • OAuth2
  • Third-party APIs

PHASE 32 — Analytics Service

Build:

  • Productivity analytics

Learn:

  • Event processing
  • Aggregation

PHASE 33 — Event-Driven Architecture

Convert:

Todo Created
Todo Updated
Todo Deleted

into events.

Learn:

  • Event systems

PHASE 34 — RabbitMQ

Build:

Todo Service
      |
   RabbitMQ
      |
Notification Worker

Learn:

  • Message brokers
  • Dead-letter queues

PHASE 35 — Kafka

Build:

  • Event streaming

Learn:

  • Topics
  • Partitions
  • Consumer groups

PHASE 36 — Microservices

Split into:

Auth Service
Todo Service
Analytics Service
Notification Service
AI Service

Learn:

  • Service boundaries

PHASE 37 — API Gateway

Add:

  • Routing
  • Authentication
  • Rate limiting

Learn:

  • Gateway architecture

PHASE 38 — Kubernetes

Deploy:

  • Frontend
  • Backend
  • Redis
  • PostgreSQL

Learn:

  • Pods
  • Services
  • Deployments

PHASE 39 — Terraform

Provision:

  • Servers
  • Databases
  • Kubernetes

Learn:

  • Infrastructure as Code

PHASE 40 — Enterprise Scale

Build:

Read Replicas

Writes -> Primary
Reads -> Replica

Sharding

Users 1-1M
Users 1M-2M
Users 2M-3M

Multi-Tenant SaaS

Company A
Company B
Company C

Feature Flags

Enable AI
Disable AI

Billing

  • Free
  • Pro
  • Enterprise

Global Deployment

  • Asia
  • Europe
  • US

Auto Scaling

  • Scale workers automatically

Disaster Recovery

  • Automated backups
  • Restore testing

About

Sprinting years of senior engineering in a single todo app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages