Skip to content

Takeaway Code Challenge - Employee Service

Notifications You must be signed in to change notification settings

takeaway/bob-challenge-employee-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Employee-Service

As its name suggests, this service is responsible for handling the employees of a company. The application must expose a REST API. It should contain endpoints to:

  • Create a department

    • Id (auto-increment)
    • Name
  • Create an employee with the following properties:

    • Uuid (generated automatically)
    • E-mail
    • Full name (first and last name)
    • Birthday (format YYYY-MM-DD)
    • Employee’s department
  • Get a specific employee by uuid (response in JSON Object format)

  • Update an employee

  • Delete an employee

Whenever an employee is created, updated or deleted, an event related to this action must be pushed to Kafka for some other other hypotethical services to consume.

Restrictions

  • The email field is unique, i.e. 2 employees cannot have the same email.

About

Takeaway Code Challenge - Employee Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages