GithubHelp home page GithubHelp logo

elizabetht / jvm-microframeworks-kotlin-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from csh0711/jvm-microframeworks-kotlin-samples

0.0 1.0 0.0 338 KB

Several Examples of JVM-Microframeworks (e.g. Micronaut, Javalin, Spring KoFu, http4k, Ktor, Spark,...) written in Kotlin

Dockerfile 0.61% Kotlin 96.21% Shell 3.17%

jvm-microframeworks-kotlin-samples's Introduction

Samples of JVM-Microframeworks using MongoDB written in Kotlin

This repo contains several examples of JVM-Microframeworks (e.g. Micronaut, Javalin, http4k, Ktor, Spring Fu, Spark, ...) written in Kotlin accessing a MongoDB.

Scenario

All examples have this scenario in common:

Scenario

This means they contain a Footballmanager microservice which accesses a MongoDB and provides the data via REST/JSON.

Setup

The MongoDB should be running on mongodb://localhost:27017and have a database footballmanager. Within this database a collection footballer should provide documents of this kind:

{
  "_id" : ObjectId("5cc2d46f8735870692375404"),
  "firstName" : "Manuel",
  "lastName" : "Neuer",
  "position" : "Goalkeeper"
}
{
  "_id" : ObjectId("5cc2d4a08735870692375405"),
  "firstName" : "Antonio",
  "lastName" : "Rüdiger",
  "position" : "Defence"
}
{
  "_id" : ObjectId("5cc2d4c98735870692375406"),
  "firstName" : "Toni",
  "lastName" : "Kroos",
  "position" : "Midfield"
}
{
  "_id" : ObjectId("5cc2d5118735870692375407"),
  "firstName" : "Leroy",
  "lastName" : "Sane",
  "position" : "Striker"
}

Projects

Micronaut

Javalin

Spring Fu

Ktor (advanced example)

Ktor (basic example)

http4k

Spark

jvm-microframeworks-kotlin-samples's People

Contributors

csh0711 avatar

Watchers

James Cloos 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.