Categorygithub.com/cuttle-ai/web-starter
modulepackage
1.2.2
Repository: https://github.com/cuttle-ai/web-starter.git
Documentation: pkg.go.dev

# README

web-starter Go Report Card Build Status Codacy Badge Codacy Badge GoDoc

A boilerplate generator for web application

Its build on top of cobra and go-input for cmd line interaction

Pre-requisite

Usage

$ go get -u github.com/cuttle-ai/web-starter
$ web-starter web-server generate
# Will ask few questions regarding the project name , description etc
Project name
Enter a value (Default is Web Server):

Project description
Enter a value (Default is Backend server):

Author name
Enter a value (Default is cuttle.ai):

Author email
Enter a value (Default is [email protected]):

Project destination
Enter a value (Default is /home/melvin/go/src/github.com/hi/web-server):

Package name
Enter a value (Default is github.com/hi/web-server):

Type of license

1. AGPL-3
2. BSD-2
3. BSD-3
4. CLOSED
5. GPL-2
6. MIT
7. UNLICENSED

Enter a number (Default is 6):

Copyright year
Enter a value (Default is 2019):

Organisation
Enter a value (Default is Cuttle.ai):

Installing Web Server

# Now we generated and installed the project with name web-server. We can run it by the following command
$ web-server
2019/08/07 23:15:13 INFO: Starting the server at :8080

Help

web-starter help

# Packages

{{.Name}} {{.Description}}.
Package cmd have the commands offered by web-starter application.
No description provided by the author
Package project has the definitions and implementations required for setting up the project.It copies the boilerplate code to the required destination.
Package version has the version information about the application.