we have an elysia api, and use nextjs for our client app. seems most of the guides are either for a fully client side spa and api, or nextjs. is there a guide / method in whcih we can do the following :
- set up the better auth server side in our api (done)
- configure nextjs to be able to use server side and client side auth calls
- configure the nextCookies plugin so can use that in nextjs
any help would be apprecited, a bit stuck!