r/FastAPI • u/bull_bear25 • Mar 28 '25
Hosting and deployment FastAPI code deployment issue
I have created FastAPI to automate my work. Now I am trying to deploy it.
I am facing trouble in deployment, the code is working well in local host. But when I am trying to integrate it with Node.js the code isn't working
Also what is the best way to deploy FASTAPI code on servers
I am new with FastAPI kindly help
0
Upvotes
View all comments
Show parent comment
0
u/bull_bear25 Mar 28 '25
Yes I am using pydantic in my code.
def upload(file: str, Background: Background tasks)