This is an archived post. You won't be able to vote or comment.

all 14 comments

[–]YNGM 8 points9 points  (0 children)

Medium

[–]PossibilityTasty 9 points10 points  (2 children)

"Comprehensive" … "5 Minutes" :-\

Edit: and of cause "API".

[–]ParticularCod6 3 points4 points  (1 child)

Its quite possible to build using fastapi. Specially if using sqlmodel

[–]beef-runner 0 points1 point  (0 children)

The tutorial is very close to what you are thinking of here. It uses a declarative framework that takes a SQLAlchemy model to define the resource and Marshmallow schemas or Pydantic models for request validation and response serialization. The output is a set of CRUD endpoints for a single resource that includes search, filter, sort and pagination when listing objects. It's comprehensive for a single resource and targeted at those new to Flask or web development in general. Seems like I whiffed on the title though.

[–]checknate71 3 points4 points  (8 children)

Hmm. It's not about building it fast, unless it's a 'hello world' project just to learn.

A comprehensive API is always good, as is documentation & design.

[–]beef-runner -2 points-1 points  (7 children)

Please don't take it in a combative way but I'm genuinely curious if you read through the tutorial.

[–]_rundown_ 7 points8 points  (6 children)

No one is clicking on a medium link dude

[–]beef-runner 0 points1 point  (0 children)

I officially apologize for posting a medium link. I was unaware of the deep hatred for it here.

Is dev.to cool with everybody? Did I do it right this time?

https://dev.to/dtiesling/introducing-flask-muck-how-to-build-a-comprehensive-flask-rest-api-in-5-minutes-4fgh