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

CodeSignal

Final Additions to our Smart Cooking API with Django

via CodeSignal

Overview

Round out the backend with interactive features and utilities: generate Text-to-Speech audio for recipe playback, let users submit ratings, list available ingredients, and export stored recipes to CSV for portability. You’ll focus on practical API finishing touches and simple scripts that improve usability and maintainability.

Syllabus

  • Unit 1: Adding Text To Speech
    • Implement TTS Audio Generation Function
    • Register TTS Route in Django Application
    • Implement TTS Request Handling Logic
    • Integrate TTS Audio Generation into Endpoint
    • Testing Script for TTS Endpoint
  • Unit 2: Adding Ingredients and Reviews
    • Add Ingredients and Reviews Endpoints in Django
    • Implement Get All Ingredients Endpoint
    • Validate Submit Review Request Data
    • Verify the Recipe Before Saving a Review
    • Persist Validated Reviews to Database
    • Add Proper Success Response to submit_review Endpoint
  • Unit 3: Exporting Recipes To CSV
    • Configure Import Paths for Recipe CSV Export Script
    • Query Recipes Using Django ORM in Export Script
    • Export Recipes to CSV File
    • Format Unique Ingredient List for CSV Export
    • Flatten Recipe Steps for CSV Export
    • Implement CSV Export for Recipes
    • Export Recipes to CSV

Reviews

Start your review of Final Additions to our Smart Cooking API with Django

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.