Starter project with PEKK stack.

Overview

Running the project

To run the project, you need to run the server and the frontend.

Running the server

In the terminal, run ./gradlew narcore-server:run

Running the frontend

In the terminal, run ./gradlew :narcore-web:run -t

Understanding the codebase

Naming Suffixes

objectTable -> DB table objectDto -> Data Transfer Object objectDs -> Data Structure (e.g. POJO, POKO) objectRm -> Repository Model (Normally a composition of multiple models)

Data Transfer Objects (DTOs)

DTOs are placed in a common project and shared between the front end and the backend.

DAO vs Repositories

A DAO correspond to a single Table (and a single model) and implement CRUD operations.

Repository is similar to a DAO Facade (Read about the Facade Design Pattern) and it abstracts the access to multiple DAOs. However, it has a single "fat" model. Normally, the repo fat model is a composition of the models of the DAOs.

For example:

ClientsDao -> ClientsTable UsersDao -> UsersTable RolesDao -> RolesTable

Then:

UsersRepository -> ClientsDao, UsersDao, RolesDao

You might also like...
This repository contains RabbitMQ Protobuf starters with its usage samples for spring-rabbit and spring-cloud-starter-stream-rabbit modules

This repository contains RabbitMQ Protobuf starters with its usage samples for spring-rabbit and spring-cloud-starter-stream-rabbit modules

Starter code for PropertyAnimation codelab

PropertyAnimation - Final Code Starter code for PropertyAnimation codelab Introduction PropertyAnimation is an app that shows various types of propert

Starter code for Android Basics codelab - Store the data in a ViewModel

Unscramble App =================================== Starter code for Android Basics codelab - Store the data in a ViewModel Unscramble is a single pla

The starter repository for the Android tech screen!

Nearside Android Code Screen - Starter Welcome to Nearside's Code Screen starter repository! Quickstart You'll need the following: Android Studio Arct

Starter code for Android Basics in Kotlin

Inventory - Starter Code Starter code for Android Basics in Kotlin. Introduction This app is an stater code for an Inventory tracking app. Demos how t

Starter code for Android Basics in Kotlin

Inventory - Starter Code Starter code for Android Basics in Kotlin. Introduction This app is an stater code for an Inventory tracking app. Demos how t

Lemonade App Starter Code

Project: Lemonade App - Starter Code Lemonade is a simple beverage characterized by its lemon flavor. 🍋 Click to select a Lemon 😋 🤤 and then squeez

Starter code for Android Basics codelab - Store the data in a ViewModel

Unscramble App Starter code for Android Basics codelab - Store the data in a Vie

Inventory-App - Starter code for Android Basics in Kotlin

Inventory - Starter Code Starter code for Android Basics in Kotlin. Introduction

Owner
Narbase Technologies
Narbase Technologies
A simple starter project for Minecraft Spigot Plugin using KotlinBukkitAPI.

KBAPI-StarterProject A simple starter project for Minecraft Spigot Plugin using KotlinBukkitAPI. The starter comes with the following KotlinBukkitAPI

null 0 Nov 2, 2021
Buggy buggy kotlin MVVM starter project

贪吃蛇 - MVVM - Kotlin Introduciton project was inspired and initialized by youtube

null 0 Dec 28, 2021
A starter project to build command-line tools in Kotlin Multiplatform

A starter project to build command-line tools in Kotlin Multiplatform Contains a re-implementation of a real world CLI tool: git-standup Installation

null 0 May 2, 2022
📒 NotyKT is a complete 💎Kotlin-stack (Backend + Android) 📱 application built to demonstrate the use of Modern development tools with best practices implementation🦸.

NotyKT ??️ NotyKT is the complete Kotlin-stack note taking ??️ application ?? built to demonstrate a use of Kotlin programming language in server-side

Shreyas Patil 1.4k Dec 26, 2022
Kotlin TodoMVC – full-stack Kotlin application demo

Kotlin full stack TodoMVC This project is an example implementation of the TodoMVC app written in Kotlin. More specifically, it's the Kotlin port of t

Gyula Voros 22 Oct 3, 2022
Full stack examples of how to use Hotwire JS in Kotlin services

hotwire-kt A collection of Kotlin examples using the Hotwire JS framework to build interactive web apps with a Kotlin Armeria server backend. Using Ho

Andrew (Paradi) Alexander 9 Dec 14, 2022
Sample Ktor app using a functional stack

samstack This is a template project you can clone and use as a basis for your own Kotlin based microservices. This application structure is my persona

Sam 6 Nov 16, 2022
Sample Ktor app using a functional stack

samstack This is a template project you can clone and use as a basis for your own Kotlin based microservices. This application structure is my persona

Sam 18 Jul 21, 2022
A forkable starter for building your own recipes and deploying them on the Moderne SaaS

Rewrite recipe starter This repository serves as a template for building your own recipe JARs and publishing them to a repository where they can be ap

Moderne, Inc. 6 Oct 7, 2022
Generated with spring boot kotlin starter kit

Kotlin backend Generated with spring boot kotlin starter kit The idea is to: Get a microservice written in kotlin for managing users and roles. To be

Oriol Subirana 1 Oct 19, 2021