OwaisNaseer/fast-api-basic-project ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple FastAPI backend project that shows the basics of a real app.
I want it to have a clean app structure, environment based settings, and a MongoDB connection. Please include simple user CRUD so I can create, read, update, and delete users through API endpoints, with a basic model and validation. Make it easy to run locally, with an example env file and clear startup instructions.
If there’s a better current way to set up FastAPI and MongoDB, use that. I’d also like the code to be organized so it’s easy to extend later, not just one giant file. Add a small README that explains how to install dependencies, configure the database, and test the main routes.
Keep it beginner friendly, but make it feel like a real project I could use as a starting point.
Are you gonna build this?
make sure you review the code using coderabbit