Skip to content

wusung/customer-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RGA Customer Module

##Scenario An insurance company needs a system to manage their customer data. A software engineering team is working on the story below.

As a system user, I want to add new customer data into the system. After added, I can view a certain customer, and a customer list. Of course, I am also able to modify the data as well as remove it from the system.

##Instructions You are required to provide the functions of:

  1. Creating a single customer
  2. Updating a single customer
  3. Deleting a single customer
  4. Reading a single customer
  5. Listing all customers
  6. Authentication (assume that the system user is existing) 6-1. Login - getting a login token. 6-2. Logout - destroying a login token.

Except for point 6, those functions(end-points) should be secured, which need a credential to access.

Please implement it in Java. Any frameworks are accepted.

##Acceptance criteria

  1. RESTful APIs
  2. JSON request and response
  3. Evidence of a BDD/TDD approach
  4. Clean, maintainable code adhering to SOLID principles

##What we look for We are especially interested in how you structure your code. It should be fully testable and easy to be understood, extended and modified by others, and comply with the best object-oriented practices.

Please push your source code to GitHub, Bitbucket or other source control platforms, or just zip it and send it back to me.

Good luck!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages