Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Cooking App Structure & Database Modeling with Codex

via CodeSignal

Overview

Use Codex as your coding partner to scaffold a modular Flask backend for an AI cooking assistant. Build the app factory, Blueprints, SQLAlchemy models, SQLite setup, and CLI scripts while learning to review and refine assistant-generated code.

Syllabus

  • Unit 1: Initializing a Flask App and Setting Up the Database
    • Assembling the Full Flask App Factory
    • Launching the Flask Development Server
    • Configuring Flask with Environment Variables
  • Unit 2: Designing Models and Relationships for a Cooking App API
    • Laying the Data Layer Foundation
    • Wiring Relationships Between Cooking Models
    • Hardening the Cooking Data Layer
  • Unit 3: Creating a Safe Database Reset Script for Your Cooking App
    • Building the Reset Script Skeleton
    • Finishing the Database Reset Script
    • Safeguarding Resets with Automatic Backups
  • Unit 4: Creating a Command-Line Script to Add Recipes Manually
    • Building the Recipe Input Layer
    • Persisting Recipes to the Database
    • Guarding Recipes Against Bad Writes

Reviews

Start your review of Cooking App Structure & Database Modeling with Codex

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.