Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/allofphysicsgraph/ui_v8_website_flask_neo4j

version 8 of the Physics Derivation Graph UI: a flask-based website with Neo4j property graph backend
https://github.com/allofphysicsgraph/ui_v8_website_flask_neo4j

flask knowledge-graph neo4j physics python python3

Last synced: 21 days ago
JSON representation

version 8 of the Physics Derivation Graph UI: a flask-based website with Neo4j property graph backend

Awesome Lists containing this project

README

        

This repo contains a new web UI (still using flask) and a new backend -- Neo4j. The previous version that is currently used for is

# Status

The website and back-end work locally.

# Quickstart

To start the containers, run
```bash
docker kill $(docker ps -q); make up
```
and then, in a web browser, go to

As a developer repeatedly restarting the containers, I use
```bash
make black_out; docker ps | grep property | cut -d' ' -f1 | xargs docker kill; date; make up
```

Because software is in Docker containers (for reproducibility), the versions of the Docker software you're using matter. The software in this repo has been tested with
* docker-compose 1.29.2
* Compose file format 3.6
* Docker Engine release 20.10.11
See for compatibility of versions.

# Project contents
Two containers: Neo4j (port 7474) and a flask web server (port 5000)

# Neo4j for newbies

A graph has "nodes" and "edges". A property graph extends that
data structure to allow "properties" for both the nodes and the edges.

Nodes and edges in Neo4j are described using the following jargon:

:label {key1:'value1', key2:'value2'}

where the key-value pairs are properties. The schema is effectively the labels and keys for edges and nodes.

"Node labels, relationship types, and properties (the key part) are case sensitive." (citation)[https://neo4j.com/docs/getting-started/current/appendix/graphdb-concepts/]

# Licensing

[Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by/4.0/)

# Software Requirements

* Docker
* a web browser

# Contributing

Before submitting code via a pull request, please open an issue (feature or bug) and describe your question or intent.

Python code is formatted using Black.