Giter VIP home page Giter VIP logo

go-angular's Introduction

#Demo App for Angular 1.4 + GO Basic of use Angular front end and Go as back end language Get, Add, Delete friends

Install: Enviroment

  1. Install go: https://golang.org/
  2. Install node js: https://nodejs.org/
  3. Install environment variables:-
  • For Windows user: create a GOPATH system variable by go to Control Panel > System > Advance system settings > Advanced tab > Environment Variables > Under system variables > create a new variable "GOPATH", value "C:\Go\bin"
  • For Mac user: open terminal, type export GOPATH=$GOROOT/bin
  1. Project location of "go-angular"
  • For windows user, extract this project to C:\Go\src\
  • For Mac user, extract this project to anywhere you want

Install: Project dependencies

  1. Open command line/terminal: navigate to frontend folder, type "npm install"
  2. Open command line/terminal: navigate to backend folder, type "go get"

Run it

  1. Front end
    • Open command line/terminal: navigate to frontend folder, type "npm start"
    • Open browser: http://localhost:8080/
  2. Back end

**in case you hit any $GOPATH error while running go command, please follow instruction https://golang.org/doc/install

go-angular's People

Contributors

jecfish avatar

Watchers

James Cloos avatar 双子三生 avatar

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.