Shopping cart

https://www.youtube.com/watch?v=-3vvxn78MH4

There has been quite long time from this example videos so all things has been going further. We have Handlebars in this Example and there has been security issues that has been going on here.

8.5.2021 8h

I was doing Academind Tutorial and I've got this part done NodeJS / Express / MongoDB - Build a Shopping Cart - #6 Sign Up View, CSRF Protection & User Model This is very interesting tutorial and I have got new things to me. CSRF session protection was one thing that I heard first time during todays session.

I have found that when we talk about 5 years old tutorial, it's quite long time. In this example there was things with Handlebars that doesn't work todays standards. I cannot put Mongoose object directly to handlebars. I need to use lean() - method to get JSON instead.