efood interview question

Describe how would you create an API route