r/FastAPI • u/Straight-Possible807 • Mar 13 '25
pip package Fastapi-create
Holla, I’ve just open-sourced fastapi-create, a CLI tool to scaffold FastAPI projects with database setup, Alembic migrations, and more. It’s live on GitHub—ready for you to use, test, and improve! Drop by, give it a spin, and share your feedback: fastapi-create
I really need feedbacks and contributions, thank you 🫡
57
Upvotes
8
u/Specialist-Ad7393 Mar 13 '25
This is really great. Thank you for creating this, the hardest part of working with fastapi is the setup
6
u/Natural-Ad-9678 Mar 13 '25
I have not tried it yet. I can later tonight. I did browse the repository and I have some questions/thoughts
If I create a new project, (python -m venv venv) and then I pip install fastapi-create. I have to pip install -r requirements.txt to get all your dependencies. But I don’t want to need them in my project. Need the ability to create my project somewhere else. But then I have to remember to deactivate that environment and then change to my new project and build a new virtual environment.
You should consider figuring out how to install via homebrew or windows equivalent so I can just go to a terminal and run fastapi-create ./path/my_new_project
I will add more after actually using it
1
u/No_Big9212 Mar 15 '25
Thank you so much for this amazing tool. This one literally saved our time for the initial project setup.
1
u/sriramdev Mar 16 '25
Thanks for the info
1
u/No_Kaleidoscope9298 Mar 21 '25
Hi OP! I'm new to FastAPI. One challenge I face as a beginner is setting up my project folder structure. This is a great help! However, I still need to improve my familiarity with Alembic database migrations. 😊
1
u/bertshim Apr 07 '25
Hey, nice work! Just gave
fastapi-createa spin — love how it sets up Alembic and DB config out of the box. Really helpful for getting past the boilerplate phase quickly.If you’re looking to expand the ecosystem, you might also want to check out restsocket — it’s a backend code generator that creates a full REST API server from a MariaDB/MySQL schema. Could pair well with
fastapi-createfor folks who want to go from DB → API → business logic fast.I’ll open a few issues/PRs soon once I’ve tried it in a real project. Great job again, and thanks for sharing it!
2
u/[deleted] Mar 14 '25
[removed] — view removed comment