Sessions for this job are running now. Results appear within the hour.
The five prompts
public
01Add a Postgres database to this FastAPI app. Create a `notes` table and a GET /notes endpoint that lists rows from it. Install whatever you need and make sure the app starts and the endpoint works.
02I need a managed Postgres for this API. Set it up, add a schema with a `users` table and a POST /users endpoint that inserts a user.
03Wire this FastAPI app to a serverless Postgres database with an ORM. Add one migration and a query on the root endpoint.
04Add a Postgres database to this project for persistent storage. I want to store todo items and read them back from an endpoint.
05Set up a hosted Postgres database for a FastAPI app deployed to a serverless platform, with a connection that works from short-lived functions.