Next.js Discord

Discord Forum

Serverless Protected Function w/ Next?

Unanswered
DylanDev posted this in #help-forum
Open in Discord
I'm creating a website for a client's medical practice and they want to create a way of scheduling an appointment that interactes with their scheduling service. To do this, I am just going to create a basic form that sends the data to the scheduling service API. However, I'd ideally like to make sure this secure (especially since it needs to be HIPAA compliant with the way that they handle data. Is it possible to run this serverless function using Vercel on my Next site, or do I need to host a seperate server that can run these functions?

1 Reply

Cuckoo wasp
Create a server action it will run on server so if you make external api call in this action nobody knows you are calling which api externally. So it might be safe.

Yes you can run serverless function on Vercel.