I am new to GraphQL and want to integrate it to my REST API using Apollo server. I am wondering how to apply best practices to setup everything. Here is the scenario:
I have an existing REST API with session cookie authentication via Redis. For now, I run GraphQL on its own server and use axios to send request from Apollo server to my REST API. I read that it is also possible to use Apollo server as a middleware to my existing API but I am not sure if it is the best practice.
With this architecture in place, is it possible to keep reference in Apollo server of the session set in my REST API when login/signup ?