上一页 1 ··· 335 336 337 338 339 340 341 342 343 ··· 477 下一页
摘要: The advantage of RS256 over HS256 is RS256 no longer need to share the secret key between client and server side. To create a token, we need to privat 阅读全文
posted @ 2017-09-22 17:56 Zhentiw 阅读(1333) 评论(0) 推荐(0)
摘要: Here we want to test a toggle button component, when the button was click, state should change, style should change also. Toggle component: Test: 阅读全文
posted @ 2017-09-20 02:52 Zhentiw 阅读(712) 评论(0) 推荐(0)
摘要: For example we have a React comonent: -- A toggle button, we want to test. When it si toggle on, the color is a little bit darken than it's not. Testi 阅读全文
posted @ 2017-09-20 01:59 Zhentiw 阅读(447) 评论(0) 推荐(0)
摘要: For intergration tests, always remember when you create a 'mass' you should aslo clean up the 'mass'. For example when you start the server, you need 阅读全文
posted @ 2017-09-20 01:20 Zhentiw 阅读(219) 评论(0) 推荐(0)
摘要: In this lesson, we will create a fluid loading animation using Animations and Transformations in CSS3. Summary: 阅读全文
posted @ 2017-09-19 23:49 Zhentiw 阅读(184) 评论(0) 推荐(0)
摘要: We have express app: As you can see, we wrap Express App into a function 'startServer' and export it as default export. The return value of this funct 阅读全文
posted @ 2017-09-19 22:33 Zhentiw 阅读(405) 评论(0) 推荐(0)
摘要: Stateful session management: Store session which associate with user, and store in the menory on server. Sign Up: Password validation: Random bytes ge 阅读全文
posted @ 2017-09-19 01:52 Zhentiw 阅读(330) 评论(0) 推荐(0)
摘要: In this lesson we will find out how to serve static assets (images, css, stylesheets, etc.) with Express. We will go over writing initial boilerplate 阅读全文
posted @ 2017-09-19 00:48 Zhentiw 阅读(288) 评论(0) 推荐(0)
摘要: The advantages of JWT over traditional session based validation is: it effectively removing all authentication logic from both our codebase and our da 阅读全文
posted @ 2017-09-18 01:38 Zhentiw 阅读(714) 评论(0) 推荐(0)
摘要: Higher Order Reducers are simple reducer factories, that take a reducer as an argument and return a new reducer. In that new reducer, you can customiz 阅读全文
posted @ 2017-09-15 03:30 Zhentiw 阅读(267) 评论(0) 推荐(0)
上一页 1 ··· 335 336 337 338 339 340 341 342 343 ··· 477 下一页