I have setup new next project and used the app router as next recommend this in latest version. Now I want to create the API so how can I create and use this API inside my page app/user/page.tsx
?
I have create one API inside the app/api/user/page.tsx
but it seems not working properly like actual it should work as API