chai-backend
chai-backend copied to clipboard
A video series on chai aur code youtube channel
    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
 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