/webgen

webgen is a Go CLI App that generates web applications

Primary LanguageGoOtherNOASSERTION

Webgen - A web app generator tool

webgen is a tool written in the Go programming language to help me personally to generate web applications like a react app.

Install

Check if $ go env GOPATH is on your $PATH.

if not, follow the steps for your operating system

Build the program

$ go build -o bin/

Install to $GOPATH

$ go install

Usage

  • Show the help message
$ webgen --help
  • Generate a web app (check templates)
$ webgen gen [[TEMPLATE]] [[APP NAME]]

Templates

Just replace [[TEMPLATE]] with the name of any of the following:

  • default - Simple website (HTML/CSS/JS)
  • react - JavaScript React boilterplate
  • react-ts - TypeScript React boilterplate

Example

$ webgen gen react-ts my_react_ts_app