Hi,
I have used MySQL with SequlizeJS ORM but you can use any other database system supported by Sequelize including SQLite.
Electron is based on Chromium and NodeJS so you can only use JavaScript, TypeScript or any language that compiles to JavaScript.