Sumitforyou

Sumitforyou

Rest Api using elixir

What should be the best approach to build REST Api in elixir ? I have heard Phoenix is very powerful but I don’t want to use it as I am building only REST Api’s . Should I use native cowboy or some plugs? What should be the best approach , moreover I even want to follow MVC . Is there any sample of similar project .

Most Liked

Zesky665

Zesky665

mix phx.new [name] --no-brunch --no-html is probably what you’re looking for. All you need to do after this is delete the user_channel and remove the user endpoint and you have a rest api.

kokolegorille

kokolegorille

Please note for the new Phoenix 1.4 You will need to replace…

--no-brunch with --no-webpack
Sumitforyou

Sumitforyou

This seems to be the one . Thanks

Where Next?

Popular in Discussions Top

New
AstonJ
Please see the new poll here: Which code editor or IDE do you use? (Poll) (2022 Edition) It’s been a while since we first asked this, I...
208 31771 143
New
ricklove
I was just introduced to Elixir and Phoenix. I was told about the 2 million websocket test that was done 2 years ago. From my research, t...
New
restack_oslo
Hello, Please pardon me for any faux paux. I am 46 and this is my first time on a forum of any kind. I wanted to to get answers from tho...
New
lucaong
Hello Elixir and Nerves community, I have been working for a while on an open-source embedded key-value database for Elixir, that I call...
230 14403 124
New
mikl
I wanted to capitalize a string, and tried using String.capitalize(). That generally works well, until you try to capitalize a word like...
New
Rustixir
Hi everyone, im working on find best language/framework/system for high concurrency, high performance and stable performance after wor...
New

Other popular topics Top

grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54260 488
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 42716 114
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New

We're in Beta

About us Mission Statement