diff options
Diffstat (limited to 'src/main/resources')
| -rw-r--r-- | src/main/resources/application.properties | 9 | ||||
| -rw-r--r-- | src/main/resources/treeNodes.json | 73 | ||||
| -rw-r--r-- | src/main/resources/users.json | 6 | 
3 files changed, 88 insertions, 0 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties new file mode 100644 index 0000000..1c74f98 --- /dev/null +++ b/src/main/resources/application.properties @@ -0,0 +1,9 @@ +spring.application.name=Neo4j SpringBoot Application + +springdoc.swagger-ui.path=/18f4f672-f9f4-4e8f-92ec-935e514be8ae/swagger-ui +swagger-ui.operationsSorter=method + +spring.neo4j.uri=bolt://localhost:7687 +spring.data.neo4j.database = neo4j +spring.neo4j.authentication.username=neo4j +spring.neo4j.authentication.password=neo4j-admin
\ No newline at end of file diff --git a/src/main/resources/treeNodes.json b/src/main/resources/treeNodes.json new file mode 100644 index 0000000..d1fdb0a --- /dev/null +++ b/src/main/resources/treeNodes.json @@ -0,0 +1,73 @@ +[ +    { +        "nodeId": "node1", +        "label": "Node 1", +        "content": "Content node 1", +        "relation": "", +        "exercises": [ +            { +                "questionId": "question1.1", +                "question": "Test Question 1", +                "options": { +                    "A": "Node 1 Choice A", +                    "C": "Node 2 Choice C" +                }, +                "answer": "A" +            } +        ] +    }, +    { +        "nodeId": "node2", +        "label": "Node 2", +        "content": "Content node 2", +        "relation": "Son", +        "fatherId": "node1", +        "exercises": [ +            { +                "questionId": "question2.1", +                "question": "Test Question 2", +                "options": { +                    "A": "Node 2 Choice A", +                    "B": "Node 2 Choice B" +                }, +                "answer": "A" +            } +        ] +    }, +    { +        "nodeId": "node3", +        "label": "Node 3", +        "content": "Content node 3", +        "relation": "Sonson", +        "fatherId": "node2", +        "exercises": [ +            { +                "questionId": "question3.1", +                "question": "Test Question 3", +                "options": { +                    "A": "Node 3 Choice A", +                    "D": "Node 3 Choice D" +                }, +                "answer": "A" +            } +        ] +    }, +    { +        "nodeId": "node4", +        "label": "Node 4", +        "content": "Content node 4", +        "relation": "Sonsonson", +        "fatherId": "node2", +        "exercises": [ +            { +                "questionId": "question4.1", +                "question": "Test Question 4", +                "options": { +                    "A": "Node 4 Choice A", +                    "B": "Node 4 Choice B" +                }, +                "answer": "A" +            } +        ] +    } +] diff --git a/src/main/resources/users.json b/src/main/resources/users.json new file mode 100644 index 0000000..033ed5b --- /dev/null +++ b/src/main/resources/users.json @@ -0,0 +1,6 @@ +[ +    { +        "name": "Jason", +        "password": "suckless" +    } +]  | 
