Terra interview question

How would you implement an API and deploy it?