how to run this website please help sir…
follow this guide to run it locally: https://github.com/basir/mern-amazona#run-locally
Answer
follow this guide to run it locally: https://github.com/basir/mern-amazona#run-locally
Yes, I'm here is the full version of connect function https://github.com/basir/next-tailwind-amazona/blob/main/utils/db.js#L5
What do you mean by "page does not start"? Also, we need to have backend running to get data and API calls in the frontend.
You are getting backend error, so you need to share the console.log in your backend to take a look
I guess you need to handle it by yoursel. check this doc to find more about it: https://www.sanity.io/plugins/next-auth-sanity
You need to make sure that you are passing email and password in the post man and you get that email and password enter back and use console.log for this…
I didn't get your mean about 404 error about arc. What is arc? please send screenshot of error to take a look. include terminal logs and chrome dev tools console…
Yes, and yes here is there a positive of this project: https://github.com/basir/mern-
for 401 error it means that you enter invalid user or password. check this API to see what you pass as email and password to the backend. https://github.com/basir/next-tailwind-amazona/blob/main/pages/api/auth/%5B...nextauth%5D.js#L30