How do you put api routes in the new app folder of Next.js? – Reactjs
I have a test API under: pagesapiaccountslogin.js. And I am learning the new app folder, which is still an experimental feature in Next.js (as of today). Is it possible to move my login script into the app folder? I tried…