0% found this document useful (0 votes)
52 views2 pages

RMGX Assignment

The document provides a coding assignment to build a REST API for asset management using Spring Boot, Spring JPA, and H2 database, with requirements to add, update, list, search, and assign assets to employees while recovering or deleting assets as needed, and the submission should include unit tests, documentation, and sharing of the GitHub repository.

Uploaded by

Raushan Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views2 pages

RMGX Assignment

The document provides a coding assignment to build a REST API for asset management using Spring Boot, Spring JPA, and H2 database, with requirements to add, update, list, search, and assign assets to employees while recovering or deleting assets as needed, and the submission should include unit tests, documentation, and sharing of the GitHub repository.

Uploaded by

Raushan Kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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