Skip to content

jarjar314/rugbymatch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Kotlin!

This workshop consists out of three exercises. Each of them can be done independent from each other and cover different learning goals. To make sure the exercises can be done independently from one another, the exercises can be found on the branch with the corresponding name. Those are listened in the table at the end of this introduction.

The project you are going to build is rugby statistic system but you do not need any knowledge whatsoever. You will learn in through the documentation and the tests.

The project uses Maven. Often Kotlin is used together with gradle project. This workshop won't take one side or another. Since a lot of examples are already covered with gradle, it is also interesting to see how to make it work with Maven ;)

The project is set-up with on java directory for the single java class it will ever have and one kotlin directory for the future developments. During this workshop, you will have to fix the code to make the test pass. Sometimes the code was already set up yo at least compile. But some changes have to be made to make them pass.

Enjoy, learn and embrace Kotlin!

Maven wrapper

To build and run the project, a mvn wrapper can be used with the following commands:

For unix systems:

./mvnw clean install

For bash systems:

./mvnw.cmd clean install

To run a spring boot service:

./mvnw spring-boot:run

Workshop set up

Exercise Branch Topics covered
1 Ex1 data class collections types
2 Ex2 inheritance interfaces extension functions
3 Ex3 Integration with Spring

Some useful git commands

Command Description
git checkout {branchName} Checkout the branch you need
git stash save {nameOfYourSave} Stash your changes and give your save a name
git stash pop {nameOfYourSave} Bring back your changes earlier saved
git commit -m {commitMessage} Commit your code (since you are working on your own fork)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published