GitHub - refiber/refiber: A web framework based on GoFiber, comes with Inertia.js built-in · GitHub
Skip to content
refiberPublic

About

A web framework based on GoFiber, comes with Inertia.js built-in

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Repository files navigation

Refiber

A web framework based on the Gofiber framework, follows the MVC architecture (Model, View & Controller).

Refiber comes with Inertia.js built-in. Inertia.js is a powerful tool for creating Single Page Applications (SPA) without needing a separate API.

// in your Controller
func (web *webController) Index(s support.Refiber, c *fiber.Ctx) error {
	return web.inertia.Render(c).Page("Home", &fiber.Map{
		"hello": "World",
	})
}
// in your React App
export default function HomePage({ hello }) {
  return <h1>Hello {hello}</h1>;
}

Documentation

Online documentation https://refiber.bykevin.work

Quick Install

To install Refiber, you first need to install the CLI. Use the following command:

go install github.com/refiber/refiber-cli@latest

Now you can just run this command bellow to create a new Refiber project

refiber-cli new my-app

About

A web framework based on GoFiber, comes with Inertia.js built-in

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages