Skip to content

Spring Boot based RESTful API acting as a backed for ngx-leaflet-poc

Notifications You must be signed in to change notification settings

alessandrov/ngx-leaflet-poc-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple Spring Boot based RESTful API whose purpose is to offer an endpoint to connect to OpenStreetMap in order to retrieve coordinates based on OSM elements (node, way relation).

Prerequisites

Make sure you have Maven (I am using v3.3.9) and Java 1.8 SDK installed on your machine.

How to build the application

Navigate to the project folder and run:

mvn clean package

How to run the application

Navigate to the project folder and run:

java -jar .\target\ngx-leaflet-poc-backend-1.0.0.jar

Notes

20 records are stored in the in-memory database at application startup: they represent 20 Italian cities.

Unit tests run against the production database (instead of the test one).

No specific error-handling strategy is in place, a lot more could be done if this were a production application.

About

Spring Boot based RESTful API acting as a backed for ngx-leaflet-poc

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages