Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal
4 courses
90 practices
11 hours
Build a full AI-powered cooking assistant with FastAPI. Model recipes and ingredients, create robust APIs, integrate OpenAI for recipe generation, add text-to-speech and reviews, and export data for a complete smart cooking experience.
Cooking App Structure & Database Modeling with FastAPI
4 lessons
22 practices
Build a solid foundation for your AI cooking assistant with a modular FastAPI app. Learn how to wire APIRouter, Pydantic schemas, and SQLAlchemy models for recipes, ingredients, and reviews. Set up SQLite, enable CORS, serve static files, and create a clean, scalable, production-ready backend.
Building the API: Retrieval, Search, and Filter with FastAPI
4 lessons
25 practices
Build essential API endpoints to make your app interactive and data-driven. Retrieve single, random, or popular recipes, browse with pagination, and filter by ingredients. Add serialization, error handling, and keep responses typed with Pydantic models.
Add intelligence to your app using OpenAI’s LLMs. Generate structured recipes from ingredients with prompt engineering, render dynamic prompts, call the API, and process outputs. Build a script to extract recipes from messy HTML and store them cleanly.
Final Additions to our Smart Cooking API with FastAPI
3 lessons
18 practices
Add final touches to your app for better interactivity. Use gTTS for Text-to-Speech recipe playback, let users submit reviews and ratings, and list all ingredients. Build a script to export recipes to CSV.
Hear what our customers have to say about CodeSignal Learn
I'm impressed by the quality and can't stop recommending it. It's also a lot of fun!
Francisco Aguilar Meléndez
Data Scientist
+11
I love that it's personalized. When I'm stuck, I don't have to hope my Google searches come out successful. The AI mentor Cosmo knows exactly what I need.
Faith Yim
Software Engineer
+14
It's an amazing product and exceeded my expectations, helping me prepare for my job interviews. Hands-on learning requires you to actually know what you are doing.
Alex Bush
Full Stack Engineer
+9
I'm really impressed by the AI tutor Cosmo's feedback about my code. It's honestly kind of insane to me that it's so targeted and specific.
Abbey Helterbran
Tech consultant
+8
I tried Leetcode but it was too disorganized. CodeSignal covers all the topics I'm interested in and is way more structured.
Jonathan Miller
Senior Machine Learning Engineer
+12
I'm impressed by the quality and can't stop recommending it. It's also a lot of fun!