Skip to content
View studyhaxer's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report studyhaxer

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
studyhaxer/README.md

Hi, I'm Hafiz Atta ur Rahman πŸ‘‹

Python learner rebuilding from scratch. One project a day. PHP background. Documenting everything publicly.

πŸ§‘β€πŸ« CS Instructor & M.Phil Gold Medalist Β· Senior Subject Expert, Punjab School Education Department 🏫 Founder, Umar Science Academy Chunian πŸ“ Lahore, Pakistan πŸ’Ό 7+ years prior freelance experience β€” PHP, WordPress, AngularJS πŸ”— LinkedIn


🚧 Currently Building: AI-Powered Educational Platform

A production-grade capstone project β€” course creation, enrollment, and AI-assisted learning β€” deployed to usachunian.com.

Stack: FastAPI Β· PostgreSQL (Supabase) Β· SQLAlchemy 2.0 Β· JWT Auth Β· React Β· Tailwind CSS Β· Groq AI (llama-3.3-70b-versatile)

Progress: Day 31 / 33 🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩⬜⬜

Phase Status
Core Backend (Auth, Courses, Lessons, Enrollment) βœ… Done
AI Lesson Summarizer (Groq) βœ… Done
Testing (28 automated tests, pytest) βœ… Done
React Frontend β€” Register, Login βœ… Done
React Frontend β€” Teacher Dashboard βœ… Done
React Frontend β€” Student Dashboard βœ… Done
UI Polish βœ… Done
PostgreSQL Migration + Env Config βœ… Done (Day 31)
Backend + Frontend Deploy ⏳ Days 32–33

Latest milestone (Day 31): Migrated the persistence layer from SQLite to Supabase PostgreSQL and centralized every secret β€” DB URL, JWT key, Groq key β€” into a single typed settings module. Along the way, uncovered and fixed a test-isolation bug: fixtures using fixed emails worked fine against a SQLite file that reset every run, but broke against a real persistent database. Full 28-test suite now passes against live Postgres.

πŸ“¦ Repo: capstone-edu-platform


πŸ“š The Journey So Far

#60DaysOfPython β€” starting from Python fundamentals, through FastAPI backend development, to a full-stack AI-integrated capstone.

  • Days 1–10: Python basics & OOP
  • Days 11–19: FastAPI core β€” CRUD, SQLAlchemy, JWT auth, role-based routes, testing, first deployment
  • Days 20–30: Capstone build β€” full backend, AI integration, testing suite, React frontend (Login, Teacher + Student dashboards, UI polish)
  • Day 31: PostgreSQL migration (Supabase) + centralized environment config
  • Days 32–33: Railway deploy β†’ live at usachunian.com

πŸ—‚οΈ Featured Repos

πŸ› οΈ Tech I'm working with

Python FastAPI SQLAlchemy PostgreSQL React Tailwind CSS JWT Groq AI Git

Prior stack: PHP WordPress AngularJS


πŸ“« Follow the daily build log on LinkedIn

Pinned Loading

  1. day15-jwt-auth-api day15-jwt-auth-api Public

    FastAPI backend with JWT authentication β€” user registration, login, and protected routes secured with bcrypt password hashing and python-jose tokens.

    Python

  2. day16-role-based-api day16-role-based-api Public

    Role-based access control on top of a JWT auth API β€” FastAPI dependency factories for role gating, reusable pagination, and proper 401 vs 403 semantics. Day 16 of #60DaysOfPython.

    Python

  3. day17-reusable-auth-dependencies day17-reusable-auth-dependencies Public

    Day 17 of a FastAPI + SQLAlchemy challenge β€” reusable JWT auth and role-based access control via dependency injection.

    Python

  4. day18-testing-cleanup day18-testing-cleanup Public

    FastAPI User-Course API with full pytest test suite β€” TestClient, isolated test DB, custom exceptions, role-based coverage

    Python

  5. day19-deployment day19-deployment Public

    FastAPI User-Course API deployed to production β€” Railway hosting + Supabase Postgres, swapped from local SQLite, env-based secrets, full pytest suite carried over from Day 18

    Python

  6. capstone-edu-platform capstone-edu-platform Public

    AI-powered educational platform β€” FastAPI backend, PostgreSQL, JWT auth, OpenAI-generated lesson summaries & quizzes. Days 20-36 capstone build.

    JavaScript