https://github.com/kalwabed/perpusin
Simple desktop app using Electronjs, Reactjs, Expressjs, and Postgresql
https://github.com/kalwabed/perpusin
desktop-app electronjs expressjs geist-ui postgresql reactjs
Last synced: 2 months ago
JSON representation
Simple desktop app using Electronjs, Reactjs, Expressjs, and Postgresql
- Host: GitHub
- URL: https://github.com/kalwabed/perpusin
- Owner: kalwabed
- License: mit
- Created: 2020-11-25T11:23:51.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-01-05T09:37:14.000Z (over 2 years ago)
- Last Synced: 2025-05-26T23:11:56.947Z (about 1 year ago)
- Topics: desktop-app, electronjs, expressjs, geist-ui, postgresql, reactjs
- Language: JavaScript
- Homepage:
- Size: 26.1 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# perpusin
Simple desktop app using Electronjs, Reactjs, Expressjs, and Postgresql
## Prerequisite
- ``node 14.x`` or latest
- Install [pkg](https://github.com/vercel/pkg) to packing your server into executable file
``` bash
# 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.
``` bash
# /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](https://kawari.space)