How can i create forget password API in Nextjs using Mongodb
i m working on creating backend APIs Using Nextjs and Mongodb and i have already created User registartion and Login API Now i want to craete Forget Password and reset password API so give me best examples for it