torque
torque copied to clipboard
`torque` is a web framework for building hypermedia driven applications in Go
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
- [x] Composable router built upon
net/http
with support for nested routing, route variables and query parameters. - [x] Module API supporting server-sided Actions, Loaders and Renderers for quickly building request endpoints.
- [x]
ErrorBoundary
andPanicBoundary
constructs for rerouting requests when things go wrong. - [x] Request middlewares and unique Guard API for protecting routes and redirecting requests.
- [x] Utilities for decoding and validating request payloads and form data.
- [x] Well you made it this far... read more at lbft.dev!