https://medium.com/coding-at-dawn/how-to-use-next-js-api-routes-to-make-a-full-stack-web-application-381d81d60160