I find rating stars fields
But how interact with it?
how to put to db and count users pressing on them?
how to allow voting only once?
how to see who and when is votes?
any working examples?

I find rating stars fields
But how interact with it?
how to put to db and count users pressing on them?
how to allow voting only once?
how to see who and when is votes?
any working examples?
As for how to interact with it, I am not really sure what you are asking, you just click it like most other controls.
to see who voted when,
Drop it in a SP List, in one column put a number, make it rating, in another put a text, or person. store the User().FullName or email or user id whatever you prefer there. by default sharepoint records time of entries, also the user but doing as a string yourself can be easier to reference later for beginners.
for voting once
just set the displaymode for the rating controls to edit if the CountRows(Filter(List, UserColumn=User().FullName))=0 and disabled if it does not
working example
See below example, here is how I store it in a number column.
Patch(StorageUnits,{ID:14, ContactName:Rating1.Value})
ID:14 points to the record i am updating, and rating1.value sends the star rating as a number., remove the id part and make a new record instead of editing record