Skip to content

tylermmorton/torque

Repository files navigation

torque

"Give me a lever and a place to stand and I will move the Earth". - Archimedes

torque is a Golang powered backend-for-frontend and server-side-rendering web framework for building modern hypermedia driven applications.

Use torque to quickly build dynamic web applications using a composable Router and the torque Module API that allows you to build endpoints by simply implementing Go interfaces.

The overall goal is to provide a simple methodology for building web applications that is idiomatic, composable, testable and maintainable, so you can focus on whats important: adding value to your users.

🚀 create-torque-app template repository

Documentation and examples are available at lbft.dev

Objectives

  • Showcase the power of Golang as a web development language.
  • #UseThePlatform and build upon modern web browser capabilities.
  • Promote a hypermedia driven architecture for building web applications.

Features

  • Composable router built upon net/http with support for nested routing, route variables and query parameters.
  • Module API supporting server-sided Actions, Loaders and Renderers for quickly building request endpoints.
  • ErrorBoundary and PanicBoundary constructs for rerouting requests when things go wrong.
  • Request middlewares and unique Guard API for protecting routes and redirecting requests.
  • Utilities for decoding and validating request payloads and form data.
  • Well you made it this far... read more at lbft.dev!

About

`torque` is a web framework for building hypermedia driven applications in Go

Topics

Resources

Stars

Watchers

Forks