Loading video player...
All Episodes 👉 https://www.youtube.com/playlist?list=PLcGFJNFn5qEB1Va8whwT5VGGQvggDBJ4U In this 2nd episode of the OpenAI Codex Tutorial, we build a real Python backend with Codex as a true AI coding agent in a live coding workflow. You’ll create a FastAPI spinning wheel randomizer API, design a POST /api/pick-winner endpoint, generate and refine backend code with Codex, write automated tests with pytest, set up the project with uv, and take the code from idea to GitHub — perfect for developers learning OpenAI Codex, agentic coding workflows, FastAPI projects, REST API design, AI-powered coding, and modern Python backend development. Pytest Course: Python Test Automation & GitHub Actions CI/CD 👉 https://www.udemy.com/course/pytest-course-python/?referralCode=13C8B78647A5FDB787FF Learn Pytest Framework: Python Automation Testing, Unit Testing, API Testing & Test Automation with GitHub Actions CI/CD 0:00 Introduction & App Example 0:30 Problem Requirements 2:00 System Design 3:58 Backend Code Structure 4:56 Codex Setup 9:21 Getting Started with Codex 11:03 Building FastAPI Backend 20:23 Code Review & Testing 25:52 Code Refactoring with Codex 32:34 Non-Interactive Mode 39:16 Key Takeways