Skip to content

Eimert/Salary-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salary-API 💲

Build Status Heroku
Personal project to learn Java and Spring Boot. Displays open data from the City of Chicago. Data as of February 1, 2020. Open Salary-API on Heroku. Warning: the site could be slow or offline when free dyno hours have elapsed.

Swagger-UI API endpoint discovery

Discover and try-out the available REST endpoints using Swagger-UI. Alternatively use Postman to send requests.

Curl usage example

Optionally pipe output to jq for human-friendly output: curl ... | jq '.'.

Get a pageable employee list:

curl -X GET https://salaryapi.herokuapp.com/api/salaries
curl -X GET http://localhost:8080/api/salaries

Technology 🔧

Java 11
Spring
Spring Boot
Spring Web
Spring JPA
Spring Data REST
Swagger-UI (OpenAPI v3)
SQLite3
H2
Liquibase
Hibernate

Development Setup

localhost:8080
h2-console
IntelliJ (with Lombok plugin)
Postman

Cloud services ☁️

GitHub :octocat:
Travis-CI
Heroku
uptimerobot.com uptime monitoring; polling every 5 minutes.

Data Set 📂

alt text
🔗 Data source.

References 📚

  • API Authentication steps are described at Baeldung
  • Spring cloud deployment docs