r/FastAPI • u/PsychologicalAd7453 • Apr 10 '24
feedback request Update: FastAPI Gen CLI v1: Generate FastAPI + React/Typescript Application with one command
I had posted a while back about my `fastapi-gen` project looking for collaborators, but I wanted to post again to say that I have a POC the project!
The idea here is that using a config to define service and model information, you can generate a service backend and frontend to use as a template for further development! This service will include:
MongoDB Database
FastAPI / Pydantic Backend w/ endpoints for each model
React / Typescript Frontend w/ pages for each model
Additionally it will create:
OpenAPI clients for the frontend code and an extra for any python code that may want to call the backend API
Dockerfiles for the project so you can run using Docker
Some basic README.md files for each component
Let me know what you all think!
I know there are similar tools out there, however I will keep developing this to distinguish it from those by doing the following:
Get this on `pip` once I am able to do more testing
More complex frontend components (Add / Update support are next, then individual model instance pages)
Support for background tasks and/or Celery tasks
Support for Redis caching
Support for multiple Database Types (MySQL is next)
2
u/PsychologicalAd7453 Apr 23 '24
u/kamikazer check it out now, made a bunch of updates.