I need help getting express-session to work in my apollo server

Hello. I decided to come back and try Apollo again but I’ve noticed that I still can’t get my express-session to set a cookie even though it’s being modified when you register as a user, this time I hosted the project on github so that you can build it and try it for yourselves (I’ve included a build guide as a text file).

When we make a mutation to register a user it modifies the req.session object to add a userId which should set a cookie, but I guess I must have done something wrong somewhere cause It doesn’t set one and I can’t seem to figure it out.

The route for register in the client is /register.