Skip to content

Simple desktop app using Electronjs, Reactjs, Expressjs, and Postgresql

License

Notifications You must be signed in to change notification settings

kalwabed/perpusin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

perpusin

Simple desktop app using Electronjs, Reactjs, Expressjs, and Postgresql

Prerequisite

  • node 14.x or latest
  • Install pkg to packing your server into executable file
# npm
npm i -g pkg

# if you prefer yarn
yarn add -g pkg

#after that, install the dependencies in the /client and /server using yarn
yarn
  • Install PostgreSql locally
  • Change .env.example into .env at /server and fill in with your Postgre config

Usage

You can customize pkg and electron config depend on your machine or requirements.

# /client
yarn electron-pack # build the React app

# /server
pkg . # build the server

Electron docs: https://www.electronjs.org/docs
Electron Builder, build tool for Electron: https://github.com/electron-userland/electron-builder
pkg docs: https://github.com/vercel/pkg

Maintained under MIT license by Kalwabed Rizki