Saving state of calendar events in localstorage or in database

My question is how can I save the state of created Events in either the localStorage or into a localhost database.

I’m not that great with coding so, your help is appreciated. :slight_smile: