You are on page 1of 2

Hello,

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:

To build a REST API based app for asset management in a company.

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

- List of all categories

- Add an asset. Asset will have a name, purchase date, condition notes, a category, assignment status -
Available, Assigned, Recovered.

- List of assets

- Search assets based on name

- Update an asset.

- Assign an asset to an employee

- Recover an asset from an employee

- 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 boot 2.4

- Spring JPA

- H2 Database

- Source code management in GitHub

Things to consider:

- Clean code with functional solidity and completeness

- 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

You might also like