Skip to content

koddr/example-go-react-macos-app-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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+
  • Node.js 10+
    • npm 6+

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

Article assistance

If you want to say «thank you»:

  1. Twit about article on your Twitter.
  2. Add a GitHub Star and make Fork to this repository.
  3. Donate some money to project author via PayPal: @paypal.me/koddr or LiberaPay.
  4. Join DigitalOcean at our referral link (your profit is $100 and we get $25).

Thanks for your support! 😘

License

MIT