beatrizuezu / django-neomodel-sample

This is a simple application of using neo4j database on Python Django with django-neomodel plugin.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-neomodel sample

This is a simple application of using dockerized neo4j database on Python Django with django-neomodel plugin

There are three models at /src/App/models folder that define the model of nodes and relations for User, Question, and Option.

model

The usage of the models are in src/App/views.py by adding dump data in the db.

Usage

This assumes you have docker installed.

$ docker-compose up --build

The application will be available at http://0.0.0.0:8000 (It should adds dump data to the neo4j db and show them on the page).

Neo4j browser will be available at http://localhost:7474/

About

This is a simple application of using neo4j database on Python Django with django-neomodel plugin.


Languages

Language:Python 94.5%Language:Dockerfile 3.0%Language:HTML 2.5%