example-go-react-macos-app-1
example-go-react-macos-app-1 copied to clipboard
Example native macOS app on Go (Golang) and React.js
Example native macOS app on Go (Golang) and React.js
This is full code example for Part 1 of article How to create a native macOS app on Go (Golang) and React.js with full code protection (without magic).
Published on Medium @ 04 Dec 2019 and re-published on Dev.to @ 12 Jan 2020.
Part 2 is coming soon.
Requirements
- Go
1.11+
- dep
0.5+
- dep
- Node.js
10+
- npm
6+
- npm
Quick demo
# Clone this repository:
git clone https://github.com/koddr/example-go-react-macos-app-1.git
# Go to folder:
cd example-go-react-macos-app-1
# Install packr utility, which should be available for calling
# from the console in $GOPATH/bin/packr:
go get -u github.com/gobuffalo/packr/packr
# Install Golang packages:
dep ensure -add github.com/gobuffalo/packr
dep ensure -add github.com/zserge/webview
# Build frontend, compile backend and run app:
make
# (Optional) For cleaning:
make clean
Author
- Vic Shóstak (aka Koddr).
Article assistance
If you want to say «thank you»:
- Twit about article on your Twitter.
- Add a GitHub Star and make Fork to this repository.
- Donate some money to project author via PayPal: @paypal.me/koddr or LiberaPay.
- Join DigitalOcean at our referral link (your profit is $100 and we get $25).
Thanks for your support! 😘
License
MIT