HackerTrans
TopNewTrendsCommentsPastAskShowJobs

surferdude

no profile record

Submissions

Show HN: Generate customizable production grade FastAPI projects

github.com
4 points·by surferdude·4 tahun yang lalu·1 comments

Show HN: Fastapi-MVC – generate customizable FastAPI projects

github.com
3 points·by surferdude·5 tahun yang lalu·1 comments

comments

surferdude
·3 tahun yang lalu·discuss
Category: Developer Experience/Engineering Experience, DevOps, Software Engineer (Python)

Location: Gdańsk, Poland

Remote: Yes

Willing to relocate: No

Technologies: Python, bash, Nix/NixOS (contributor), Linux, containers, virtualization, K8s, Helm, SQL, PostgreSQL,

Redis, Pub/Sub, JS/VueJs,

Résumé/CV: https://drive.proton.me/urls/E9SJECDQXM#eKn4Csobwj5P

GitHub: https://github.com/rszamszur

Email: [email protected]
surferdude
·4 tahun yang lalu·discuss
Hi, author here. I wanted to share a project which generates a production grade FastAPI projects based on MVC architectural pattern, WSGI + ASGI. Includes tests, GitHub actions, utilities, Helm, and more.

As of today, FastAPI doesn't have any project generator like other known web frameworks ex: Django, Rails, etc., which makes creating new projects based on it that much more time-consuming. The idea behind this package is that one can generate a new project with one command and then start implementing endpoints logic straightaway, rather than creating the whole project from scratch. Moreover, the project is structured in MVC architectural pattern to help developers who don't know FastAPI yet but are familiar with MVC to get up to speed quickly.

During development, I mainly focused on quality, code readability, reproducibility, and ease of use in the best way I could.

Current features:

* Generated project core implemented using MVC architectural pattern

* WSGI + ASGI for high performance and better configuration

* Generated project comes with tests at 99% coverage

* Proper Dockerfile created with best practices for the cloud and Kubernetes

* Extensive GitHub actions for CI

* Reproducible virtualized development environment

* Redis and aiohttp utilities

* Kubernetes deployment with HA Redis cluster

* Readable and documented code

* Configurable from env

* Generated project uses Poetry dependency management

Future development:

* Databases integration

* Generators for model, controler, scaffold, etc.

* Community requests
surferdude
·5 tahun yang lalu·discuss
Hi, author here. I wanted to share a project which generates a customizable FastAPI project core for high-performance applications[1, 2]. Based on MVC architectural pattern and WSGI + ASGI.

As of today, FastAPI doesn't have any project generator like other known web frameworks ex: Django, Rails, etc., which makes creating new projects based on it that much more time-consuming. The idea behind this package is that one can generate a new project with one command and then start implementing endpoints logic straightaway, rather than creating the whole project from scratch. Moreover, the project is structured in MVC architectural pattern to help developers who don't know FastAPI yet but are familiar with MVC to get up to speed quickly.

During development, I mainly focused on quality, code readability, reproducibility, and ease of use in the best way I could.

Current features:

* Generated project core implemented using MVC architectural pattern

* WSGI + ASGI for high performance and better configuration

* Generated project comes with tests at 99% coverage

* Proper Dockerfile created with best practices for the cloud and Kubernetes

* Extensive GitHub actions for CI

* Reproducible virtualized development environment

* Redis and aiohttp utilities

* Kubernetes deployment with HA Redis cluster

* Readable and documented code

* Configurable from env

Future development:

* Databases integration

* Generators for model, controler, scaffold, etc.

* Community requests

[1] https://stackoverflow.com/a/62977786/10566747 [2] https://stackoverflow.com/a/63427961/10566747