Home
Study notes
Cancel

use generic to help with the returned value

data type of jwt verify function When handling tokens, a common practice is use the jwt.verify function to check if a token is valid, and then add the decoded content from jwt.verify to req.user. ...

handle JWT token when logout

handle JWT token JWT is stateless, meaning jwt is not stored in server/backend. JWT issues and validates the token by itself. thus, it is not possible to “destroy” the token at the server side....

Close AWS free tier account

Today I received an email from AWS stating that I have 30 days left on my AWS free tier. To avoid being charged (even though I have already been charged several tens of Australian dollars), I have ...

week 3-4 2023

9 Jan 2023 to 15 Jan 2023 Weekly forecast Work on backend cms Ask and it will be given to you; seek and you will find; knock and the door will be opened to you. Matthew 7:7 jwt.verify ...

week 2 2023

2 Jan 2023 to 9 Jan 2023 Weekly forecast Work on backend cms I will persist until I succeed —by OG Mandino express.Router Use the express.Router class to create modular, mountable r...

week 1 2023

26 Dec 2022 to 1 Jan 2023 Weekly forecast Work on aws and previous project summary I will act now. —by OG Mandino Error when try to host Unicorn web on Amplify Please sign in to access...

week 52 summary

19 Dec 2022 to 25 Dec 2022 Weekly forecast Work on Resume and job hunting I will fail often in order to succeed only once. —by OG Mandino import will be changed to require(or add “type”...

week 51 summary

12 Dec 2022 to 18 Dec 2022 Weekly forecast Work on Resume and job hunting I will fail often in order to succeed only once. —by OG Mandino JobPin’s work has been deployed to production. ...

week 50 summary

06 Oct 2022 to 11 Oct 2022 Weekly forecast Work on Resume and job hunting I like the the phrase job hunting, way better than ‘求职’(Chinese phrase), Coz Hunting is Human Nature! AWS charg...

week 47 summary

10 Oct 2022 to 17 Oct 2022 Summary working on Konva react-konva for resume preview download one repo from GH, display lyric with konva and study npm install with error npm ERR! code ER...