Skip to content

p17griv/neobook

Repository files navigation

NeoBook

A simple social network that uses a Neo4j graph database!


NeoBook is a student project for "Big Data" course of department of Informatics - Ionian University, made by Pashalis Grivas and George Gerarchakis. The main goal of this project is to create a use case of Neo4j Graph Platform and demonstrate it's capabilities by building a simple Social Network Application - Website, "NeoBook". Specifically, 200,000 nodes with User label and properties with dummy data and 2,360,494 relationships with FOLLOWS label were created in order to prove Neo4j's capabilities.

Finally, a comparison of Neo4j's performance was conducted by executing 3 different queries of various complexities on two different systems with NeoBook's dummy data. Study's results can be found in this Report (Greek).

About Neo4j

Neo4j is a native graph database, built from the ground up to leverage not only data but also data relationships. Neo4j connects data as it’s stored, enabling queries never before imagined, at speeds never thought possible.

Project Stages

# Stage Status
1. Find a dataset with relationships between users of a social network. Done
2. Plan the functions of the application and the Schema of the Database. Done
3. Find the data sources where nodes' (users & posts) properties will get their values. Done
4. Write scripts (python) in order to assign information to users and posts, insert them into the database by sending the appropriate Cypher queries. Done
5. Write scripts (python) in order to insert the relationships between users and posts into the databaseby sending the appropriate Cypher queries. Done
6. Create the application stracture using PHP and write the appropriate Cypher queries at the appropriate sections of the web pages. Done

Documentation - References


Database - Graph Schema:

Db Schema