Professional Documents
Culture Documents
Thank you for showing interest in RMgX Technologies for this opportunity. As the next step, here is a
coding assignment for you to showcase your techie skills. On the basis of successful submission and
evaluation of this assignment, we will have next audio/video interview sessions.
Problem Statement:
Description:
Any company has assets like laptops, keyboard, stationary items, furniture etc. It is important for a
company to keep a track of these assets, their condition, and assignment to people to ensure rightful
use of these assets and keep a track of them. A REST based app is required which will expose the
following services :
- Add category of assets. Categories can be like - electronics, furniture etc. A category will have a unique
ID, name and description
- Update category
- Add an asset. Asset will have a name, purchase date, condition notes, a category, assignment status -
Available, Assigned, Recovered.
- List of assets
- Update an asset.
- Delete an asset. The rules here are : An asset cannot be deleted which is in assigned state
Assume that employees are already there in the database with the following information about them -
id (unique id of the employee), full name, designation
Tech Stack to be used:
- Spring JPA
- H2 Database
Things to consider:
- Documented code with clear description on how things work ( JavaDocs and README.md )
- Unit Test cases using JUNIT5 and Spring Boot Tests and Mockito
Submissions Guidelines:
- Code should be submitted in a GitHub repo and share back the repository details
Thanks,
RMgX Team