Somehow, I am hitting a wall with using Absinthe.
Docs
I spent a whole day roaming through all the docs, but feel a bit overwhelmed.
Is there a high level overview that somehow shows how all the different parts/packages of absinthe work together and when they are needed?
What I want to achieve
I want to have two servers, with one server that provides the database and the other server with no database queries against it.
server A - database, stores posts
server B - servers frontend. Sends queries to create a post or to lists all posts.
Where I am at
For now I have a server A running that connects to a postgres database and
allows to create and read database entries via the graphiql interface.
Problem
If i run HTTPoison.get()
against the Server, I end up with a 505.
I really don’t understand why.
If I open the same address in the browser, the correct query result is displayed.
However, the server logs print
function ServerTestWeb.Absinthe.Plug.init/1 is undefined (module ServerTestWeb.Absinthe.Plug is not available)
It is probably a misconfiguration somewhere, but I lost the overview of what I am doing here.
Not really knowing what the cause is, I do not want to put all my code in here and flood the post, but I will gladly post what you guys want to see.