← Back to feed
Renewal·마흔의 생활코딩

[T3 stack]? Could Python also be done in T3 stack-style?

NS
normalstory
cover image

 

Prologue 

A Python project is finally kicking off. Python projects are usually used for research purposes, and there aren't many cases that go all the way to deployment, so I caught a great opportunity. To sketch out the overall flow, let me set up a prototype example. 

 

 

 

Practice step 0.1

Looking at the FastAPI example I did last year? or the year before, it was quite rough and contained many packages that aren't used much these days. 

 

FastAPI Practice

A new tool for teams & individuals that blends everyday work apps into one.

www.notion.so

So while I was redoing the practice with newer packages.. 

Revival start: hello world

 

 

 

Practice step 1.0

Suddenly? — could Python also be done with a T3 stack? — that thought crossed my mind. So (of course lol) it isn't perfect, but I wove together examples piece by piece. For now, the configuration is python - fastapi - vercel - prisma - supabase - postgresql, and I printed hello world. Honestly, swapping packages around like this — wouldn't there be dependency issues? — I was already fretting before I even started.. but luckily there were none. Of course that's probably because the example itself is just hello world ;)

T3 stack style? python ;D

https://nextjs-fastapi-starter-weld.vercel.app/

 

Create Next App

Get started by editing api/index.py

nextjs-fastapi-starter-weld.vercel.app

 

 

 

(That's it for today..)

(planned) Practice step 1.x
Apply the todo-list I had built earlier in the FastAPI practice //restful api

(planned) Practice step 2.x
Apply the noteTaker I built in the t-3 stack practice a while ago //trpc API 

(planned) Practice step 3.x
External API integration: openai, stable diffusion

 

 

 

 

 


Practice code: The write-up of the process is on Notion. 

https://www.notion.so/thinknormal/re-python-for-T3-style-43b6cca0892744f4bf8cf50931fd7082

 

This English version was translated by Claude.

친절한 찰쓰씨
Written by
친절한 찰쓰씨

Pleasant Charles — UI/UX researcher at AIT. Keeping notes on design, planning, and slow days here since 2010.