Popularity
1.2
Stable
Activity
0.0
Stable
8
2
1

Description

This is a command line tool that can be installed and used to generate the boilerplate project, install dependencies, start live development server, and more. This tool is useful for people who want to start a new project for working with Angular on Frontend and Go on Backend.

Programming language: Go
License: Apache License 2.0
Tags: Generate     Command Line     Go Tools     Tools     Template     CLI    

NGGO alternatives and similar packages

Based on the "Command Line" category.
Alternatively, view NGGO alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of NGGO or a related project?

Add another 'Command Line' Package

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

License

This project is licensed under the Apache License - see the [LICENSE](LICENSE) file for details.


*Note that all licence references and agreements mentioned in the NGGO README section above are relevant to that project's source code only.