You are on page 1of 1

Coding Task: Backend Engineer

Institute Instructor Attendance System

Problem statement

We want to build a backend system for the institutes that lets them track their instructors’
check in & out throughout the day & view their total working hours on a monthly basis. Build
the APIs that (a) store this information into the database & (b) provide an aggregated
monthly report.

What is expected

● An API to manage the in & out times


○ The API will accept input from the instructors their check in & out. Both the in
& out times will be separate operations (separate API calls). This will be
stored against their unique ID.
○ The instructors can add multiple in-out for a single day.
○ The API should validate things like instructors entering valid date & timings &
the slots do not overlap, etc.
● An API for the aggregated monthly report
○ The API will compute & return instructor-wise total checked in time for all
instructors in the given month (JSON format)
● Test your program for various scenarios to ensure it works as expected, including
cases with multiple IN & OUT requests per day.

Out of the scope

● Authentication & authorization is out of scope. For the sake of simplicity, you can
expect a JWT/auth token or instructor ID in the API & use that to identify the
instructor.
● Generation of any kind of reports
● Features like login/signup, instructor enrollment, leave management, etc.
● Admin capabilities

Coding Instructions

● Write it in the language of your choice (preferably Nodejs)


● Ensure your code is clean & has a well organized structure
● Ensure the code is in the running state.
● Provide a README to run the code & if you have made any assumptions, please note
them as well in the README
● Writing unit tests is a plus

Timeline

We expect the task to be completed within 3 days

Submission details

Please submit your work (github/zip file) to vishwas@wiseapp.live & copy


preethu@wiseapp.live. In case of any questions, drop an email.

www.wise.live

You might also like