Coder Social home page Coder Social logo

koddr / example-go-react-macos-app-1 Goto Github PK

View Code? Open in Web Editor NEW
32.0 4.0 1.0 3.01 MB

Example native macOS app on Go (Golang) and React.js

Home Page: https://dev.to/koddr/how-to-create-a-native-macos-app-on-go-golang-and-react-js-with-full-code-protection-part-1-463k

License: MIT License

Makefile 3.82% Go 11.34% HTML 14.43% CSS 7.92% JavaScript 62.50%
example-app macos go golang react reactjs native-apps

example-go-react-macos-app-1's Introduction

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

example-go-react-macos-app-1's People

Contributors

dependabot-preview[bot] avatar koddr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

tipizy

example-go-react-macos-app-1's Issues

Some Errors when I run Make

Please help me fix this issue, thank you so so much!!!!
npm ERR! Unexpected token
npm ERR! in JSON at position 87192 while parsing '{
npm ERR! "name": "static",
npm ERR! "version": "0.1.'

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/Phuong_Mac/.npm/_logs/2020-08-07T05_02_00_599Z-debug.log
make: *** [build] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.