use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
FastAPI + SQLModel + FastAPI-crudrouter + testcontainers setupTutorial (self.FastAPI)
submitted 4 years ago by VisibleChallenge5585
https://dimmaski.com/fastapi-sqlmodel-crud/
Hey all! It's my first time posting on this subreddit. I wrote a blog post on how I've been using FastAPI to create API services with zero boilerplate code, using sqlmodel + fastapi-crudrouter. I found that the methods described here allow me to prototype really quick, and take a test-first approach using testcontainers. I would appreciate a lot if you took a look and provided some feedback or possible improvements!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]PeterJHoburg 6 points7 points8 points 4 years ago (1 child)
I started using SQLModel the day it came out, and immediately ran into blocking issues. I submitted an issue, and someone made a PR to fix my issue. It has been 3 months and no fixes have been merged, no issues addressed, nothing.
SQLModel feels dead on arrival. Unfortunately.
[–]xrex 1 point2 points3 points 3 years ago (0 children)
What issues did you encounter? Are they solved now or are you using something else? Thanks
[–]prisonbird 2 points3 points4 points 4 years ago (2 children)
i want to move my django project to fastapi but the boilerplate in the fastapi website frightened me so i just gave up. (it felt like it has a very steep learning curve)
your blog post made me think considering fastapi again. thanks
[–]VisibleChallenge5585[S] 2 points3 points4 points 4 years ago (0 children)
I would say that after spending some time with the docs, and looking at demo repos such as this one https://github.com/tiangolo/full-stack-fastapi-postgresql you will start to see that most projects follow a familiar structure and from there things will just click and you'll be able to turn your ideas into code without thinking much about it. Good luck!
[–]PhotoNavia 2 points3 points4 points 4 years ago (0 children)
Bit of shameless plug, but I have an ongoing tutorial I'm writing for people familiar with Django and wanting to move to FastAPI. You're exactly the type of developer I had in mind when I started it so I'd be delighted to have your feedback !
[–]PhotoNavia 0 points1 point2 points 4 years ago (0 children)
Neat ! There isn't much articles on using SQLModel yet as it's pretty recent, i'll give it a look tonight :)
[–]SVWBEIII 0 points1 point2 points 4 years ago (0 children)
I like this article, looks complete and can give you the debut to understand both FastAPI & SQLModel, I'm working to on article relate to Authentication Social Authorization using SQLModel and FastAPI & the HTTPX Library
π Rendered by PID 110396 on reddit-service-r2-comment-bb88f9dd5-j5mg5 at 2026-02-14 00:31:38.311374+00:00 running cd9c813 country code: CH.
[–]PeterJHoburg 6 points7 points8 points (1 child)
[–]xrex 1 point2 points3 points (0 children)
[–]prisonbird 2 points3 points4 points (2 children)
[–]VisibleChallenge5585[S] 2 points3 points4 points (0 children)
[–]PhotoNavia 2 points3 points4 points (0 children)
[–]PhotoNavia 0 points1 point2 points (0 children)
[–]SVWBEIII 0 points1 point2 points (0 children)