DEV Community

loading...

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

Collapse
brunodrugowick profile image
Bruno Drugowick Author

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 Author

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.