Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/allofphysicsgraph/ui_v8_website_flask_neo4j
- Owner: allofphysicsgraph
- Created: 2024-05-25T10:54:22.000Z (8 months ago)
- Default Branch: gh-pages
- Last Pushed: 2024-09-07T16:34:49.000Z (4 months ago)
- Last Synced: 2024-11-03T08:41:59.433Z (2 months ago)
- Topics: flask, knowledge-graph, neo4j, physics, python, python3
- Language: Python
- Homepage: https://allofphysics.com
- Size: 1.41 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
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 toAs 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.