I was trying your template for a little personal project I want to work in and just after installing I faced this issue.
Steps to reproduce:
Clone repository.
yarn install
run yarn electron:serve
One you get into the app in the console you can't see connected status.
You can't add any record to the database.
This is happening only the first time you open the app and only with yarn electron:serve, after you reload the window it is working again. By the contrary it works perfectly when you run yarn electron:build