congard / dronkashop

A simple Kotlin framework that enables CRUD operations on a Neo4J database via GraphQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DronkaShop

Autorzy

  • Danylo Knapp
  • Kacper Słoniec
  • Bartłomiej Szymański

Structure

The project consists of:

  1. Backend (DronkaShop)
    1. Kotlin code
    2. GraphQL/Cypher code (schema, queries, mutations)
  2. Framework

Stack

  1. Neo4J
  2. GraphQL
  3. Kotlin

Configuration

Before building, project should be configured: credentials.txt should be created with the following content:

SERVER_URL
USER_NAME
PASSWORD

Without this, compilation error will be thrown.

Roadmap

  • Projektujemy & implementujemy framework
  • Projektujemy bazę;
  • Tworzymy bazę korzystając z Cypher;
  • Tworzymy schemat (schema) dla GraphQL;
  • Piszemy backend w Kotlinie;
  • Jeżeli mamy czas, tworzymy jakiś tam frontend w JavaFx;
  • Sprawko (ofc lepiej go pisać równolegle);

IDE extensions

  1. IntelliJ: Graph Database
  2. VSCode: Cypher Query Language
  3. VSCode: GraphQL

Links

Kotlin

Korzystamy z bibliotek napisanych w Kotlinie – a więc też używamy Kotlina.

  1. Basic syntax
  2. Classes
  3. Properties
  4. Objects
  5. Lambdas
  6. Collections
  7. Scope functions
  8. use keyword

Neo4J

  1. Manual
  2. API Reference
  3. Cypher
  4. Workspace
  5. Session API

GraphQL

  1. Biblioteka, z której korzystamy
    1. Auto Generated Queries and Mutations
  2. Introduction to GraphQL

Cypher

  1. Conditional Cypher Execution
  2. Conditional Cypher Execution (docs)
  3. CALL {} (subquery)
  4. Stackoverflow: Cypher query with chaining does not propagate
  5. SET

About

A simple Kotlin framework that enables CRUD operations on a Neo4J database via GraphQL

License:BSD 4-Clause "Original" or "Old" License


Languages

Language:Kotlin 71.5%Language:GraphQL 19.9%Language:Cypher 8.6%