Fiber-Generator: A Scaffolding Tool for Go Fiber Framework
If you need a simple scaffolding tool that generates boilerplate code for the Go Fiber framework, similar to the express-generator tool, then you're in luck.
Fiber-generator is a template scaffolding tool for the Go Fiber framework that generates boilerplate code in an MVC architecture with HTMX, HTML, CSS, and JavaScript preconfigured.
GitHub Repository
You can find the project repository here: Fiber-generator.
Installation Instructions
-
Prerequisites:
- Make sure you have the Go programming language installed (preferably version 1.6 or higher).
-
Install Fiber-generator:
- Run the following command to install Fiber-generator:
go install github.com/SuperninjaXII/Fiber-generator@latest
-
Generate Your Project:
- Use the
fiber-generator
command with the--name
flag followed by the name of your project:
fiber-generator --name my-project
- Use the
- This will initialize the Go module and generate the necessary files and folders.
-
Install Dependencies:
- If you have
make
installed, run:
make install
- If you have
-
If you don't have
make
, run:
go mod tidy
-
Build the Application:
- To build your application, use:
make build
-
Alternatively, you can use:
go build -o "output-name"
Show Your Support
If you find this tool helpful, please consider giving the project a star ⭐ on GitHub:
Fiber-generator
Top comments (0)