plug_heartbeat alternatives and similar packages
Based on the "Framework Components" category.
Alternatively, view plug_heartbeat alternatives based on common mentions on social networks and blogs.
-
dayron
A repository `similar` to Ecto.Repo that maps to an underlying http client, sending requests to an external rest api instead of a database -
rummage_phoenix
Full Phoenix Support for Rummage. It can be used for searching, sorting and paginating collections in phoenix. -
phoenix_token_auth
Token authentication solution for Phoenix. Useful for APIs for e.g. single page apps. -
access pass
provides a full user authentication experience for an API. Includes login,logout,register,forgot password, forgot username, confirmation email and all that other good stuff. Includes plug for checking for authenticated users and macro for generating the required routes. -
Votex
Implements vote / like / follow functionality for Ecto models in Elixir. Inspired from Acts as Votable gem in Ruby on Rails -
plug_canonical_host
PlugCanonicalHost ensures that all requests are served by a single canonical host. -
trailing_format_plug
An elixir plug to support legacy APIs that use a rails-like trailing format: http://api.dev/resources.json
CodeRabbit: AI Code Reviews for Developers

Do you think we are missing an alternative of plug_heartbeat or a related project?
README
PlugHeartbeat
A tiny plug for responding to heartbeat requests.
Installation and docs
Documentation is available on hex.pm.
Add a dependency to your application's mix.exs
file:
defp deps do
[{:plug_heartbeat, "~> 1.0"}]
end
then run mix deps.get
.
Usage
Just plug this plug (sorry) in your plug pipeline:
defmodule MyServer do
use Plug.Builder
plug PlugHeartbeat
# ... rest of the pipeline
end
With this setup, all GET
and HEAD
requests to /heartbeat
will return a
200 OK status and OK
as the body. This path can be customized through the
:path
option:
defmodule MyServer do
use Plug.Builder
plug PlugHeartbeat, path: "/health"
# ... rest of the pipeline
end
That's pretty much it, but the docs contain further details.
License
MIT © Andrea Leopardi, see the [license file][license].
*Note that all licence references and agreements mentioned in the plug_heartbeat README section above
are relevant to that project's source code only.