Popularity
2.5
Stable
Activity
0.0
Stable
14
2
1
Monthly Downloads: 1
Programming language: Elixir
License: Apache License 2.0
Tags:
Frameworks
exelli alternatives and similar packages
Based on the "Frameworks" category.
Alternatively, view exelli alternatives based on common mentions on social networks and blogs.
-
RIG
Create low-latency, interactive user experiences for stateless microservices. -
placid
A REST toolkit for building highly-scalable and fault-tolerant HTTP APIs with Elixir
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of exelli or a related project?
Popular Comparisons
README
Exelli
Elli elixir wrapper with some sugar sytnax goodies.
Hello world
defmodule MyHandler do
use Exelli.Handler
get [] do
{:ok, "HELLO"}
end
get ["ping"] do
{:ok, "PONG"}
end
get ["test"] do
{:ok, "WORKS"}
end
post ["test"] do
{:ok, "POST WORKS"}
end
end
then start elli with
{:ok, pid} = Exelli.elli_start MyHandler.Simple
Router
defmodule MyRouter do
use Exelli.Router
enable MyMiddleware, [prefix: ["middleware"]]
enable MyHandler
end
and you can start it with
{:ok, pid} = Exelli.elli_start MyRouter
In fact, it's just a sugar syntax. You can still use:
{:ok, pid} = Exelli.elli_start [{MyMiddleware, [prefix: ["middleware1"]]}, # normal prefix
{MySubSimple, "sub"}, # easy prefix
{MySimple, [prefix: []]}] # no prefix
Elli middlewares
You can obviously enable any other elli middleware. Add it to mix.exs, and enable like:
defmodule MyRouter do
use Exelli.Router
enable MyMiddleware, [prefix: ["middleware"]]
enable MyHandler
enable :elli_date
end