Giter Site home page Giter Site logo

bashor / geospatial-messenger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sdeleuze/geospatial-messenger

0.0 2.0 0.0 1.48 MB

Geospatial messenger application written with Spring Boot + Kotlin + PostgreSQL

Home Page: https://spring.io/blog/2016/03/20/a-geospatial-messenger-with-kotlin-spring-boot-and-postgresql

Kotlin 79.23% HTML 3.56% JavaScript 17.10% CSS 0.11%

geospatial-messenger's Introduction

This is a sample application that demonstrates how to build a Kotlin + Spring Boot applications with a PostgreSQL database. The code is very concise, and the generated application is a 18 MBytes self-contained executable jar with low memory consumption.

A detailed blog post describing this application is available here.

It is used as a playground to demonstrate various features:

A Spring Data version based on spring-data-jdbc-repository is also available in this branch. There is no Spring Data JPA version yet but feel free to fork this repo and contribute it with a pull request!

Run the application

  • Install a PostgreSQL database with PostGis extension, on Mac you can use Postgresapp.
  • Clone this repository.
  • Customize database configuration on application.yml.
  • Run it within your IDE or with ./gradlew bootRun.
  • Open http://localhost:8080/ in your browser. Screenshot
  • Documentation should be available at http://localhost:8080/docs/index.html when run from the JAR.

Improvements I have in mind

  • Use Kotlin JS instead of Javascript for client side.
  • Exposed issue #25: allow to support SQL transaction with @Transactional.
  • Spring HATEOAS issue #401: add HATEOAS support, but without having to extend ResourceSupport or wrapping it into a Resource<Foo> container .
  • Kotlin issue KT-11235: avoid mandatory usage of arrayOf in annotation array attribute (for example in @SpringApplicationConfiguration(classes = arrayOf(Application::class)).

geospatial-messenger's People

Contributors

sdeleuze avatar

Watchers

 avatar  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.