Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anshap1719/nggo
A CLI for working with Go + Angular projects
https://github.com/anshap1719/nggo
angular angular-cli boilerplate cli go
Last synced: 3 months ago
JSON representation
A CLI for working with Go + Angular projects
- Host: GitHub
- URL: https://github.com/anshap1719/nggo
- Owner: anshap1719
- License: apache-2.0
- Created: 2018-01-01T20:08:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-22T01:03:18.000Z (almost 7 years ago)
- Last Synced: 2024-09-28T15:23:03.409Z (3 months ago)
- Topics: angular, angular-cli, boilerplate, cli, go
- Language: Go
- Size: 30.3 KB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NGGO
A CLI tool for working with Angular + Go projects.
## Prerequisites
- You must have Go installed and GOPATH & GOBIN setup properly
- You must have angular-cli installed (any version)**NOTE:** *Generated angular project version will be based on your angular-cli version*
## Installation
Run `go get -u github.com/anshap1719/nggo` to install the tool globally.## Generate New Project
Run `nggo generate -n="{project_name}"` to generate a new project. You must provide the name of the project using either -n or --name.## Project Generator Configuration
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"`## Install Dependencies
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*
## Start Development Server
Run `nggo serve` inside project folder to run the webpack dev server for angular and gin live server for go.## Authors
* **Anshul Sanghi** - [Anshap1719](https://github.com/anshap1719)
## License
This project is licensed under the Apache License - see the [LICENSE](LICENSE) file for details.