DEV Community

Discussion on: What is your technical stack and what are you building?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Combination of my laziness and maintainability. My current stack is

  • Nuxt.js / Buefy
  • Node.js / Fastify (for API validation +/- OpenAPI)
  • MongoDB (via Typegoose) + Embedded LokiJS
  • Firebase Auth
  • Plausible analytics
  • Docker / Google Cloud Run
  • Desktop -- Electron

They all may change at any time, though.

Building a highly customizable quiz app, with embedded dictionaries, that can work on mobile, and sync to desktop.

Collapse
 
andrewbaisden profile image
Andrew Baisden

How are you finding Electron I am yet to create anything with it but I hear that it is quite easy to learn?

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

Actually, it just appears to be the most reliable way to embed both Node.js and Chromium web browser for the client.

The best way (and most secure way) to use it, is via inter-process communication (ipcMain / ipcRender), which can also be done in pure Node.js (i.e. no Electron, is also true threading). However, I still prefer to do it the web server way.

Actually, if you don't really need the Node.js part, or you want different backends, there are many alternatives, e.g. Neutralino.js, zserge/webview. There is no guarantee that Chromium / CEF will work the way you wanted, though.