I built a project called Neo4j E-commerce Graph to explore how graph databases work in e-commerce using Neo4j AuraDB.
It models a small online store with Users (customers), Products (items to buy), Orders (purchases), Categories (product groups), and Follows (social connections). Everything is connected with PLACED, CONTAINS, IN_CATEGORY, and FOLLOWS, letting me ask questions like which products are bought together, what category a user shops from most, or what they might discover through friends.
Files include data_generation.cypher (sample data), queries.cypher (example queries), and app.py (run queries via Python). Neo4j makes querying relationships super easy—co-purchases, recommendations, friends’ suggestions—all in a few lines of Cypher.
Repo here: 👉https://github.com/adityaa2506/neo4j-ecommerce-graph
Top comments (0)