Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 846 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 846 Bytes

Java API Sample Employee Data

Introduction

This project is used to introduce how to access other APIs from within Java Spring REST API CRUD applications. As such it is a small application showing just the code that is needed to explain the topic.

Database layout

The table layouts are as follows:

  • Employee is the driving table
  • Email has a Many-To-One relationship with Employee. Each employee has many emails. Each email has only one employee
  • Jobtitles has a Many-To-Many relationship with Employee
  • EmployeeTitles is the join table to represent the Many-To_Many relationship between Employee and JobTitles

Sample Employees Database Layout

Two different applications exist

  • sampleotherapis-initial - a starting application
  • sampleotherapis - show how to manage data from three different api systems