DEV Community

Discussion on: Complete CRUD with Spring Boot, Vue.js, Axios

Collapse
 
a11enyang profile image
Allen Yang

This is really helpful for me , thx!

Collapse
 
brunodrugowick profile image
Bruno Drugowick

Cool! Glad to be helpful!

Make sure to take a look at the next of the series when I add security, it's very important! Also, there's a trick to connect Spring's csrf protection and Vue.js scripts like that.

Let me know if you need help with that, I have a tutorial but in Portuguese. I can point to the code, though.

Collapse
 
brunodrugowick profile image
Bruno Drugowick

Here it goes: github.com/brunodrugowick/securing...

The trick is to add the Thymeleaf's csrf input but integrate the token to the Axios library using Vue.js $refs.