A CLI for working with Go + Angular projects
APACHE-2.0 License
A CLI tool for working with Angular + Go projects.
NOTE: Generated angular project version will be based on your angular-cli version
Run go get -u github.com/anshap1719/nggo
to install the tool globally.
Run nggo generate -n="{project_name}"
to generate a new project. You must provide the name of the project using either -n or --name.
This tool supports all angular flags and options that can be used with ng new
. Simply provide an additional argument to nggo generate
with flag --ng
. Ex. nggo generate -n="new-project" --ng="--skip-install --style=scss"
By default, the angular dependencies will be installed automatically on generation of project (not if you use --skip-install). You may run nggo install
inside your project folder to install node + go dependencies. This is a crucial step as the generated go project has dependencies apart from standard library
Note: Projects must be generated in any subdirectory of your GOPATH
Run nggo serve
inside project folder to run the webpack dev server for angular and gin live server for go.
This project is licensed under the Apache License - see the LICENSE file for details.