Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/michael-simons/biking2

This was the source code of biking.michael-simons.eu until end of 2023.
https://github.com/michael-simons/biking2

angularjs arc42 architecture biking gpsbabel java jooq spring spring-boot sql

Last synced: 1 day ago
JSON representation

This was the source code of biking.michael-simons.eu until end of 2023.

Awesome Lists containing this project

README

        

# biking2

> [!NOTE]
> The successor to this project is [biking3][9], which is what my [instance][1] is running these days. I might update dependencies here some time, but I am not doing any further development in here.

## Abstract

This is a project where i try out Java 8, Spring / Spring Boot and AngularJS. The project is live at [biking.michael-simons.eu][1]. To find out more, checkout the [about page][2] or start reading the series of blog posts:

[Developing a web application with Spring Boot, AngularJS and Java 8][3]

You may also want to have a look at the client companion of this app, [BikingFX][4]

## Architecture

The projects architecture is [completely documented][6] inside the [arc42][7] structure, using the AsciiDoc format from the [arc42-template][8].

## NOTE

You'll need [GPSBabel][5] to build this project without errors and to use the tracks / log database. Errors running the `TracksControllerTest` are the result of a missing `gpsbabel` binary in the path.

Per default, biking2 looks at `/opt/local/bin/gpsbabel` for the GPSBabel binary. This can be overwritten by adding an application.properties to the root of the project containing the following property:

biking2.gpsBabel = path/to/gpsbabel/binary

GPSBabel is available for all major operating systems, including windows. So please check if it's available on your platform if biking2 doesn't compile for you.

Also, you should use the provided `mvnw` respectively `mvnw.cmd` script for building.
If not, you need to export the following Java opts:

--add-opens java.base/sun.nio.ch=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-exports java.base/sun.nio.ch=ALL-UNNAMED

[1]: http://biking.michael-simons.eu
[2]: http://biking.michael-simons.eu/about
[3]: http://info.michael-simons.eu/2014/02/20/developing-a-web-application-with-spring-boot-angularjs-and-java-8/
[4]: https://github.com/michael-simons/bikingFX
[5]: http://www.gpsbabel.org
[6]: http://biking.michael-simons.eu/docs/index.html
[7]: http://arc42.de
[8]: https://github.com/arc42/arc42-template
[9]: https://github.com/michael-simons/biking3