Is it possible to use nextJS and ExpressJs?

I want to understand one thing Usually in MERN application i was doing authentication and authorised using expressJs Jwt and http only cookie Suppose if I use nextJs and expreesJs for complex logics how can i validate the api calls at express js server? Can anyone explain how to do authentication and authorisation outside the nextJs ?
5 Replies
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
varundeva
varundevaOP•3mo ago
Sure Let me Try 🙂 I used app-write backend Now facing issues in complex db queries. Thank you
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
varundeva
varundevaOP•3mo ago
Hey I tried to install From NextJs app its giving cors error also i added cors middleware in expressjs and allowing all traffic Do you have any basic setup boilerplate? Or any reference repository in github?
Unknown User
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?