Follow the steps here to migrate the project from Apollo Server version 3 to version 4: https://www.apollographql.com/docs/apollo-server/migration.
The migration will improve usability, speed, and readability of the application as described .
The front-end service is getting the error: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://photobook-be.herokuapp.com/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 404.
Add CORS ORIGIN support to the repository, likely by adding app.enableCors() in main.ts, and also following this link to add CORS origin support in the GraphQLModule in app.module.ts