Your awesome project
Welcome to the yet another awesome project generated with the Gowebly CLI! π
This README file contains all the necessary information about:
And some words about the Gowebly CLI.
Project overview
Backend:
- Module name in the go.mod file:
github.com/ArkLabsHQ/fulmine
- Go web framework/router:
gin
- Server port:
7000
Frontend:
- Package name in the package.json file:
frontend
- Reactivity library:
htmx
- CSS framework:
tailwindcss
Tools:
- Air tool to live-reloading: β
- Bun as a frontend runtime: β
- Templ to generate HTML: β
- Config for golangci-lint: β
Folders structure
.
βββ assets
β βββ scripts.js
β βββ styles.scss
βββ static
β βββ images
β β βββ gowebly.svg
β βββ apple-touch-icon.png
β βββ favicon.ico
β βββ favicon.png
β βββ favicon.svg
β βββ manifest-desktop-screenshot.jpeg
β βββ manifest-mobile-screenshot.jpeg
β βββ manifest-touch-icon.svg
β βββ manifest.webmanifest
βββ templates
β βββ pages
β β βββ index.templ
β βββ main.templ
βββ .gitignore
βββ .dockerignore
βββ .prettierignore
βββ .air.toml
βββ Dockerfile
βββ docker-compose.yml
βββ prettier.config.js
βββ package.jsonβββ golangci.yml
βββ go.mod
βββ go.sum
βββ handlers.go
βββ server.go
βββ main.go
βββ README.md
Starting your project
To start your project, run the Gowebly CLI command in your terminal:
gowebly run
Developing your project
The backend part is located in the *.go files in your project folder.
The ./templates folder contains Templ templates that you can use in your frontend part. Also, the ./assets folder contains the styles.scss (main styles) and scripts.js (main scripts) files.
The ./static folder contains all the static files: icons, images, PWA (Progressive Web App) manifest and other builded/minified assets.
Deploying your project
All deploy settings are located in the Dockerfile and docker-compose.yml files in your project folder.
To deploy your project to a remote server, follow these steps:
- Go to your hosting/cloud provider and create a new VDS/VPS.
- Update all OS packages on the server and install Docker, Docker Compose and Git packages.
- Use
git clone command to clone the repository with your project to the server and navigate to its folder.
- Run the
docker-compose up command to start your project on your server.> βοΈ Don't forget to generate Go files from *.templ templates before run the docker-compose up command.
About the Gowebly CLI
The Gowebly CLI is a next-generation CLI tool that makes it easy to create amazing web applications with Go on the backend, using htmx, hyperscript or Alpine.js, and the most popular CSS frameworks on the frontend.
It's highly recommended to start exploring the Gowebly CLI with short articles "What is Gowebly CLI?" and "How does it work?" to understand the basic principle and the main components built into the Gowebly CLI.
