Code Monkey home page Code Monkey logo

rugbymatch's Introduction

Welcome to Kotlin!

This workshop consists of three exercises. Each of them can be done independent from each other and covers 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 a rugby statistic system but you do not need any knowledge whatsoever. You will learn it 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 one 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 to 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 (will only be used for exercise 3):

For unix systems:

./mvnw spring-boot:run

For bash systems:

./mvnw.cmd 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)

rugbymatch's People

Contributors

paulienva avatar larsvanmourik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.