I do not know how to structure this question to be honest, But is there a way to get the session details or another way to check if the user is logged in ? if the frontend and backend is hosted on seperate server ( ie: auth.ts file is not available at next frontend side).
in the image:
1. backend is the hono application
2. users is the frontend nextjs application
What works:
Login is working , register user is working
What i need
get the session details of the logged in user.
Some template projects i saw in github uses hono as a replacement to next api route. That is not what i want . I want the hono to be a seperate server.