How can I connect to MongoDB with plain Elixir?

Hello. I have used MongoDB (Mongoose) within NodeJS the past months.
As my second language, I have started learning Elixir around September this Year.
I have only learned the Basics from the Docs etc. and im curious how to connect Elixir with MongoDB and add/edit/delete Data within plain Elixir (not Phoenix etc.)
I would be happy about a good documentation / guide recommendation and maybe some tipps :smiley:

Hi, @spizzy :wave:t2: Welcome to the forum!
Similarly as for NodeJS Mongoose is a go to library to work with MongoDB, for elixir there is elixir-mongo/mongodb.

Phoenix is just another package/library that helps to add a web layer to elixir project. “Phoenix is not your application.”

2 Likes