A boilerplate generator for web application
Its build on top of cobra and go-input for cmd line interaction
$ 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
web-starter help