Built a self-hostable AI plugin marketplace with FastAPI + Next.js – looking for feedback #93386
Replies: 1 comment 1 reply
-
|
Hi! 👋 This is a really solid project — especially for someone new to FastAPI. The scope (marketplace + payments + wallet + admin) is quite ambitious and well thought out 👍 Here are a few suggestions that might help improve the architecture and align with common FastAPI best practices: 1. Project structure & modularizationIf not already done, consider separating layers clearly:
This helps keep endpoints thin and makes the codebase easier to scale and test. 2. Dependency injection (FastAPI Depends)FastAPI’s
This keeps controllers clean and consistent. 3. Async consistencySince you’re using
4. Security considerationsYou’re already doing great with RS256 + AES-256-GCM 👏 Some additional ideas:
5. Background tasks / workersFor things like:
You might want to offload them using:
6. API validation & schemasMake sure all request/response models use Pydantic consistently:
This improves reliability and auto-generated docs. 7. ObservabilityFor production readiness:
Overall, the foundation looks strong — especially the combination of FastAPI + Next.js + Docker for a self-hostable platform. Great work, and keep building! 🚀 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone!
I recently built an open-source project called PrivClaw, a self-hostable AI plugin marketplace with built-in payments, wallet, and admin dashboard.
Tech Stack:
Key Features:
GitHub: https://github.com/geneleo537-afk/privclaw
As someone new to FastAPI, I'd love to hear feedback on the project architecture or any FastAPI best practices. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions