| The concept behind fastapi-gen is to streamline backend and frontend service generation by utilizing a configuration file to define service and model specifications. With this tool, you can effortlessly generate a service backend and frontend, serving as a robust template for further development. The generated services will include code the following components: * Database: Postgres / MySQL / MongoDB
* Using SQLAlchemy / Alembic we can manage the database from code when choosing Postgres or MySQL
* MongoDB works well for more unstructured use cases
* Backend: FastAPI / Pydantic
* Synchronous + Asynchronous endpoints for each data model type
* Frontend: React / TypeScript
* Generated pages for each data model
* Automatic setup of Typescript client to hit the backend service Moreover, fastapi-gen provides additional generated code such as: * OpenAPI clients for the frontend code, with an extra client for any Python code that may need to interact with the backend API
* Dockerfiles to facilitate running the project using Docker containers
* Basic README.md files for each component Eager to hear your feedback and thoughts on this project. While I'm aware of similar tools in the ecosystem, I'm committed to evolving fastapi-gen to stand out by implementing the following enhancements: * Publishing fastapi-gen on PyPI (pip) once more extensive testing is completed
* Adding more complex frontend components
* Integrating support for Celery / Rabbit MQ
* Integrating support for Redis Your suggestions and contributions are invaluable as we strive to make fastapi-gen a versatile and powerful tool for service generation. Thank you for your interest and support! |