You can now write Typescript/Javascript APIs and deploy it together with your frontend application.
This gives plenty of flexibility to developers as there is no more need to think about infrastructure for backend services. Simply create an /api folder and place your endpoint handlers in there. We do support a file system routing, therefore you don't have to think about routing neither.
Send emails, insert data into database, validate inputs and many other use cases can now be handled using the /api folder.
Read more here: https://www.stormkit.io/docs/features/writing-api