How to Build Secure Multi-Tenant Graphql API on Top of Memgraph
Blog post from Memgraph
Steeve Bete from Orbit presented on building a secure, multi-tenant GraphQL API using Memgraph during a recent community call, highlighting Orbit's need for a graph database to manage and analyze complex community data. Orbit selected Memgraph for its ease of use, speed, and visualization capabilities through Memgraph Lab. The presentation detailed the process of creating a GraphQL API with Apollo Server and Neo4j GraphQL to facilitate secure data access, focusing on authentication, authorization, and data isolation strategies using JSON Web Tokens and GraphQL directives to ensure data privacy. Steeve addressed integration challenges between Memgraph and Neo4j GraphQL, noting that recent updates have eased the process, and emphasized the importance of schema design and performance tuning. Despite some initial setup challenges, the Memgraph database efficiently handles large-scale data, with Orbit's database containing around 1 million nodes and 4 million edges, demonstrating its scalability. The presentation concluded with a call to explore further resources and examples provided by Orbit, including a GitHub repository showcasing migration strategies with Memgraph.