FastAPI with nextjs pages App

Hey,

I am using the t3 stack and trying to setup a fastapi inside of it as i need it for some ML stuff.

I came across this
https://github.com/digitros/nextjs-fastapi
however it only works with app dir.

Ideally i dont wont unrestricted access to this api either, i want to try limit its access to only being used from interally via trpc.
GitHub
Contribute to digitros/nextjs-fastapi development by creating an account on GitHub.
GitHub - digitros/nextjs-fastapi
Was this page helpful?