Inspired be Neo4j Movies Application === The Stack
These are the components of our Web Application:
-
Application Type: Python-Web Application
-
Web framework: Flask (Micro-Webframework)
-
Neo4j Database Connector: Neo4j Python Driver for Cypher Docs
-
Database: Neo4j-Server (3.x) with multi-database
-
Frontend: jquery, bootstrap, d3.js
First remember to create new Neo4j Database with dumb file in repo as "call_record".
Get yourself setup with virtualenv so we don’t break any other Python stuff you have on your machine. After you’ve got that installed let’s setup an environment for our app:
virtualenv neo4j-movies
source neo4j-movies/bin/activate
The next step is to install the dependencies for the app with pip (or pip3 for python3):
pip install -r requirements.txt
Start your local Neo4j Server (Download & Install), open the Neo4j Browser.
Then install the Movies data-set with :play movies
, click the statement, and hit the triangular "Run" button.
And finally let’s start up a Flask web server:
python movies.py
# or python3 movies.py
Running on http://127.0.0.1:8080/
Navigate to http://localhost:8080 and you should see your first Neo4j application