{"repo":"serverpod/relic","free":true,"listed":false,"github":"https://github.com/serverpod/relic","clone":"git clone https://github.com/serverpod/relic.git","description":"A high-performance web server framework inspired by Shelf. Relic provides a robust, type-safe, and efficient foundation for building scalable web services.","language":"Dart","stars":127,"topics":["dart","dartlang","flutter","http","http-server","server","webserver"],"license":"BSD-3-Clause","category":"mobile-apps","readme_excerpt":"Relic web server Relic is a modern, high-performance web server framework inspired by Shelf and built by the Serverpod team to meet the demanding requirements of modern web applications. Relic provides a robust, type-safe, and efficient foundation for building scalable web services. 👉 Full documentation available here 📚 Why Relic? While Shelf has been a solid foundation for Dart web applications, several areas for improvement were identified. Rather than work around these limitations, Relic was created as a next-generation framework that maintains Shelf's familiar structure while delivering significant enhancements. These are some of the improvements: - Strongly typed APIs with validated HTTP headers. - Simplified interface for setting up routing and middleware. - Unified encoding model for HTTP bodies. - Built-in trie-based router, which improves performance. - Static file handling with support for cache busting and etags. - Built-in support for WebSockets. - Improvements in hot reload and running with multiple isolates. Quick start 1. Install Dart 3.7 or newer and verify with dart --version . 2. Add Relic: dart pub add relic 3. Create a new console app and drop in the hello world server below. Run your first Relic server Place this file in bin/hello world.dart (runnable example is also under example/example.dart ): Run it with dart run bin/hello world.dart and visit http://localhost:8080/user/Nova/age/27 . Additional examples Relic comes with an extensive set of examples.","default_branch":null,"files":null,"tree":[],"storefront":"/r/serverpod","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/serverpod/relic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}