Backend Coding Test
● Create microservices (nodejs) for CRUD operation and store in database
(mongodb) for user data (Point 50)
○ User data : Id, userName, accountNumber, emailAddress, identityNumber
● Protect the API with the authorization header (Point 5)
● Validate the header request (authorization header) (Point 5)
● Choose 1 of these: (Point 30)
1. Implement caching strategy (redis) for vehicle data. (any data changes in
mongodb should sync to redis)
2. Consume data from kafka (consumer)
● Deploy into docker/heroku or any platform services. (Point 10)
Notes:
● Provide API to generate the token
● For read operation please create 2 functions to get user by accountNumber and
get user by IdentityNumber.
● Please define the constraint and indexing in the database.
● Use your name for the database and microservices name.
Please send us back the test result at the latest 2 days from today.