Create an application to act as a web service for managing and retrieving company employee information. Please use any frameworks and libraries you feel comfortable with and would make sense for the situation. The application uses Spring Boot framework and a built in Tomcat server to run the app locally on port 8080. The data.json file will be the data source used to. This base project should provide to start the web service application.
All http requests must return a JSON response.
**Before committing any code, please create a new branch off of main.
Name it: "{your-github-id}-flywire-exercise"
-
Create an http request endpoint that returns a list of all active employees in alphabetical order of last name.
-
Create an http request endpoint that takes in an ID and returns a JSON response of the matching employees, as well as the names of their direct hires. Employee IDs are unique.
-
Create an http request endpoint that takes a date range, and returns a JSON response of all employees hired in that date range. Sort by descending order of date hired.
-
Create an http request endpoint that takes a name, id, position, direct reports, and manager to creates a new employee. The employee should be added to the JSON file. Add any validation and error handling you see fit.
-
Create an http request endpoint that takes in an ID and deactivates an employee. Add any validation you see fit.
EXTRA FRONT-END CREDIT: Create a web page show a list of employees. Flex your design skills and front-end experience to make it as complex or presentable as you like.