Skip to content

climatetree/places-microservice

Repository files navigation

Backend [Places-Microservice-Server]

Build Status Quality Gate Status

Microservice Architecture

Repo Structure

This repository holds the source code for the backend services for locations/places included included the climateTree.wiki web application. This application was built using Java, Maven, and Spring Boot. This repo contains the following important folders:

  • Controller
    • Hosts the API endpoints
  • Dao
    • Provides queries that can be called on the connected database.
    • All queries return a GeoJson object string.
  • Services
    • Intermediary class between the Controller and the Dao that performs additional data processing steps.

The Model and DTO folders are not currently in use, but were kept for archiving purposes.

API Endpoints

It is important to note that only 1 of the 4 APIs is currently being used in the climateTree.wiki project. The only API that is being used is /api/v1/places/{name}. This is being used by the front end to retrieve the names of places that contain the given name. All other APIs have been transition to GeoServer. The GeoServer repository can be viewed here.

The endpoints that are defined in the Controller can be viewed here on Postman

Database

This application directly connects to the ClimateTree project's Places Database that is currently hosted on Azure. Connection strings are provided as environment variables to the application.properties configuration. The database schema can be seen here.

Bugs, Enhancements, and Improvements

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages