Day042 — Getting started with Electron

Jacky Tsang
1 min readMar 11, 2018

--

I have a project that I need to develop a desktop application. The first tool that comes to mind it Electron, which is used by Slack and Atom. Since I am quite familiar with Javascript and Node.js, Electron is a perfect fit for this job.

It is quite easy to get started with.

# Clone the repository   
$ git clone https://github.com/electron/electron-quick-start
# Go into the repository
$ cd electron-quick-start
# Install dependencies
$ npm install
# Run the app
$ npm start

I recommend you look the content of it as it is the barebone of an Electron app. After going through it, I have a quick understanding of where I should start coding. With that said, I would rather choose an pre-made Electron template to kick start my app. I will be using React as my frontend library. I am deciding which template to use, CT Lin’s “electron-react-boilerplate” or “electron-forge” with React template.

--

--

No responses yet