Skip to content

Template for the Fiber (v3) framework for Go. It includes a clean project structure and integrates live reloads using Air

License

Notifications You must be signed in to change notification settings

ssyan-dev/go-fiber-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

st0pcha/go-fiber-example

📒 About

go-fiber-example is a template for the Fiber (v3) framework for Go. It includes a clean project structure and integrates live reloads using Air

💻 Installation

  1. Clone the repository:
git clone https://github.com/st0pcha/go-fiber-example.git
cd go-fiber-example
  1. Create .env file
SERVER_HOST="0.0.0.0"
SERVER_PORT="8080"
SERVER_ALLOWED_ORIGINS="*" # "http://localhost:8080,http://localhost:3000"
  1. Install dependencies
  • with go:
go mod download
godo deps
  1. Run
  • with go:
go run cmd/api/main.go
godo run

🛫 How to run app using Air?

  • with go:
air
godo dev

About

Template for the Fiber (v3) framework for Go. It includes a clean project structure and integrates live reloads using Air

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages