diff --git a/ScreenShot_final_project_finished/completed_POST_localhost8080employees1.jpg b/ScreenShot_final_project_finished/completed_POST_localhost8080employees1.jpg
new file mode 100644
index 000000000..52982979e
Binary files /dev/null and b/ScreenShot_final_project_finished/completed_POST_localhost8080employees1.jpg differ
diff --git a/ScreenShot_final_project_finished/gs_rest_service_response b/ScreenShot_final_project_finished/gs_rest_service_response
new file mode 100644
index 000000000..27335c576
--- /dev/null
+++ b/ScreenShot_final_project_finished/gs_rest_service_response
@@ -0,0 +1 @@
+{"employeeList":[{"employee_Id":1,"first_name":"James","last_name":"Smith","email":"smith_james@gmail.com","address":"1234 Main Street"},{"employee_Id":2,"first_name":"Mary","last_name":"Sue","email":"sue_mary@gmail.com","address":"1111 14th Grande Street"},{"employee_Id":3,"first_name":"John","last_name":"Gunther","email":"gunther_mg@gmail.com","address":"1456 15th West Street"}]}
\ No newline at end of file
diff --git a/ScreenShot_final_project_finished/photo_shot_of_localhost8080employees.jpg b/ScreenShot_final_project_finished/photo_shot_of_localhost8080employees.jpg
new file mode 100644
index 000000000..92b2acefe
Binary files /dev/null and b/ScreenShot_final_project_finished/photo_shot_of_localhost8080employees.jpg differ
diff --git a/ScreenShot_final_project_finished/screenshot_POST_localhost8080employees1.jpg b/ScreenShot_final_project_finished/screenshot_POST_localhost8080employees1.jpg
new file mode 100644
index 000000000..a3d03595a
Binary files /dev/null and b/ScreenShot_final_project_finished/screenshot_POST_localhost8080employees1.jpg differ
diff --git a/initial/pom.xml b/initial/pom.xml
index 282ea1bb8..e3f9035ff 100644
--- a/initial/pom.xml
+++ b/initial/pom.xml
@@ -21,11 +21,29 @@
org.springframework.boot
spring-boot-starter-web
-
+
org.springframework.boot
spring-boot-starter-test
test
+
+
+ junit
+ junit
+
+
+
+
+
+ org.junit.jupiter
+ junit-jupiter-engine
+ test
+
+
+
+ org.mockito
+ mockito-core
+ test
diff --git a/initial/src/main/java/com/example/restservice/Employee.java b/initial/src/main/java/com/example/restservice/Employee.java
new file mode 100644
index 000000000..fcf7cc999
--- /dev/null
+++ b/initial/src/main/java/com/example/restservice/Employee.java
@@ -0,0 +1,69 @@
+package com.example.restservice;
+
+public class Employee {
+ //Variables for employee
+ private Integer employee_Id;
+ private String first_name;
+ private String last_name;
+ private String email;
+ private String title;
+
+ //Default Constructor for Employee
+ public Employee(){
+ }
+
+ //Parameterized Constructor
+ public Employee(Integer employee_Id, String first_name, String last_name, String email, String title) {
+ this.employee_Id = employee_Id;
+ this.first_name = first_name;
+ this.last_name = last_name;
+ this.email = email;
+ this.title = title;
+ }
+
+ //Employee getters and setters
+ public Integer getEmployee_Id() {
+ return employee_Id;
+ }
+
+ public void setEmployee_Id(Integer employee_Id) {
+ this.employee_Id = employee_Id;
+ }
+
+ public String getFirst_name() {
+ return first_name;
+ }
+
+ public void setFirst_name(String first_name) {
+ this.first_name = first_name;
+ }
+
+ public String getLast_name() {
+ return last_name;
+ }
+
+ public void setLast_name(String last_name) {
+ this.last_name = last_name;
+ }
+
+ public String getEmail() {
+ return email;
+ }
+
+ public void setEmail(String email) {
+ this.email = email;
+ }
+
+ public String getTitle() {
+ return title;
+ }
+
+ public void setTitle(String title) {
+ this.title = title;
+ }
+
+ @Override
+ public String toString() {
+ return "Employee [employee_Id=" + employee_Id + ", first_name=" + first_name + ", last_name=" + last_name + ", email=" + email + ", title=" + title + "]";
+ }
+}
diff --git a/initial/src/main/java/com/example/restservice/EmployeeController.java b/initial/src/main/java/com/example/restservice/EmployeeController.java
new file mode 100644
index 000000000..e575a8986
--- /dev/null
+++ b/initial/src/main/java/com/example/restservice/EmployeeController.java
@@ -0,0 +1,43 @@
+package com.example.restservice;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.http.ResponseEntity;
+import org.springframework.web.bind.annotation.*;
+import org.springframework.web.servlet.support.ServletUriComponentsBuilder;
+
+import java.net.URI;
+
+@RestController
+public class EmployeeController {
+
+ //inject the EmployeeManager
+ @Autowired
+ EmployeeManager employeeManager;
+
+ //Get point to retrieve the employees from employeeManager
+ @GetMapping("/employees")
+ public Employees getAllEmployees() {
+ return employeeManager.getAllEmployees();
+ }
+
+ // POST endpoint to add a new employee
+ @PostMapping("/employees")
+ public ResponseEntity