Description
Grip is a microframework for building RESTful web applications in the Crystal programming language. It is designed to be modular and easy to use, and it can scale up to the limits of Crystal. Its middleware, called pipes, can change parts of the request and response context before the request reaches the endpoint. The router is similar to the router in the Phoenix framework. The project says it exists because Kemal, another Crystal framework, lacks structure. Features include HTTP 1.1 and WebSocket (RFC 6455) support, built-in exception handling, parameter handling, JSON serialization and deserialization, middleware, a request and response context inspired by Express.js, and advanced routing. The README claims its JSON handling is the fastest of any Crystal framework. You add Grip to the shard.yml file of your application to install it. API reference is on the project website and on CrystalDoc. It is for Crystal developers who build web APIs and web apps.…
Highlights
- RESTful web apps in Crystal
- Pipes middleware
- WebSocket RFC 6455 support
- JSON serialization and deserialization
- Advanced routing
Ratings & Reviews
No ratings yet
Be the first to rate Grip.
People also visit
Grip FAQ
What is Grip?
A microframework for building RESTful web applications in the Crystal programming language.
How do I install it?
Add Grip to the shard.yml file of your application, then run the install command, as the README shows.
What are pipes?
Middleware that can change parts of the request or response context before it reaches the endpoint.
Does it support WebSockets?
Yes. It supports WebSocket RFC 6455.
What are the best Grip alternatives?
Popular alternatives to Grip include Kreya, Evolum and Hanami View. See all Grip alternatives

