chai-backend icon indicating copy to clipboard operation
chai-backend copied to clipboard

A video series on chai aur code youtube channel

Results 112 chai-backend issues
Sort by recently updated
recently updated
newest added

![Screenshot 2024-01-19 111140](https://github.com/hiteshchoudhary/chai-backend/assets/148361302/eb8fa224-9008-4ecd-b2a2-f15324815365) ![image](https://github.com/hiteshchoudhary/chai-backend/assets/148361302/5e27fc70-ad23-4b30-beb8-31abc7d262ef) ![image](https://github.com/hiteshchoudhary/chai-backend/assets/148361302/349365a3-9f1d-45c1-9ac5-1bc2f264abae) ![image](https://github.com/hiteshchoudhary/chai-backend/assets/148361302/623cc845-abe9-4272-bd51-546da559a917) SOMEONE PLEASE POINT OUT WHERE I HAVE GONE WRONG

The issue is actually occurring in verifyJWT middleware router.route("/logout").post(verifyJWT, logoutUser); Inside verifyJWT I console logged the req and what I found is req.cookies is empty. and thereby the token is...

Fully working and tested the server with all possible edge cases [postman collection](https://api.postman.com/collections/29213528-b18cbb6f-1d38-4abd-afad-648f764c8fdc?access_key=PMAT-01HN8QSSTMSNAJY156EWCH6HEQ) if You are seeing this Thanks a Lot you can follow me in [X](https://x.com/Dipeshxdev?t=yDiCplfQLPsNOGlUrbN3QA&s=09)

req.files?.avatar[0] can cause errors as req.file?.avatar give undefined if not present and undefined[0] will throw error so fixed it

So I am in the video of 'ROUTES AND CONTROLLER WITH DEBUGGING". After the creating my register route, i started the server and got: `Server is running on port 8000...

I have successfully completed the assignment,I have attach a link of testing folder, I have used postman for api testing, you can see the link in my readme. it is...

- Completed all the assignments and todo work. - completed all controllers, routes. - tested all functionality using postman. - postman's exported file link is available in **readme.md** - instead...

When I send request through Postman it's through an error of jwt malformed

![Screenshot 2024-04-26 130431](https://github.com/hiteshchoudhary/chai-backend/assets/95223782/1d80531f-afbc-4fbc-bbb7-ee7ad2590b42) I noticed that in my public folder the images I am sending from postman is NOT GETTING stored, I tried debugging it but couldn't find the solution