jesshart / checkserve

A simple check in service for feeding programs.
MIT License
0 stars 0 forks source link

Choose a backend framework #2

Closed jesshart closed 1 week ago

jesshart commented 1 week ago

I need to choose a backend framework for the application. Ideally it is close to a one-stop-shop so I can talk to and from the selected database framework and either render the front end or communicate with it.

Examples (e.g., Django, Flask, or Express.js)

Acceptance Criteria

A framework is selected and a corresponding Decision Document is linked.

jesshart commented 1 week ago

After some brief research, it appears that Flask is the choice for this simple project. I do not want to over engineer this thing. There is also lots of documentation on Flask and I am relatively familiar with it.

Feature Flask Django FastAPI
Type Micro-framework Full-stack framework Micro-framework
Learning Curve Low Steep Low
Flexibility High Moderate High
Built-in Features Minimal Extensive Minimal
Performance Good Good Excellent
Database Integration Manual setup required Built-in ORM Manual setup required
API Development Requires extensions Built-in REST framework Built-in, async support
Best For Small to medium projects, APIs Large, complex applications Fast APIs, microservices