Using MongoDB as database for phoenix app 1.4

I believe this is a very basic question to ask

Not as basic as you may think as MongoDB isn’t as popular as it is in other communities.

Hex: mongodb, mongodb_ecto

Have you looked at

yet?

  • For learning Phoenix it might be easier to simply stick to the default PostgreSQL setup.
  • If you need to use MongoDB it may make more sense to get your bearings with plain Elixir first before you try to use it in Phoenix (How to use MongoDB With Elixir - Revisited (2016)).

It has been done … but pretty much expect this attitude:


CRUD

4 Likes