Blog Like Functionality

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Silverstripe Version:
Hi! I have a Parent page (blog page ) with children of blog (selected blog). I loop all the children blog in the blog page which I want to have a like functionality.

Can anybody share an idea on how to connect to the database in just a click of a button that will increment the data of like in selected blog?

My project doesn’t have a login system but I just want to know how to increment a data from frontend to the backend using javascript and php.

Any idea is much appreciated. Thank you