Backend Developer Assignment
Backend Developer Assignment
# Instructions
1) Use NodeJs for Backend and MongoDB for Database.
2) Use Proper commenting and Naming conventions should be meaningful.
3) For Every concept completion should be pushed in GitHub with proper commit
message. For bug xing also, should have proper commit message.
# Assignment
We have to create Restful APIs for User Pro le Management, with functionalities,
(Note : You can use your own exibility in splitting or grouping APIs)
1. Add Admin
2. Update Admin
3. View Admin
4. Add User
5. Update User
6. View User
# Model
(Note 1 : Both Admin and User holds same model)
(Note 2 : All Admin and User details should be stored in one place in database)
1. First Name*
2. Middle Name
3. Last Name*
4. Email*
5. Password (Encrypted)*
7. Department
8. Created Time*
9. Updated Time*
fi
fi
fi
ffi
fl
fi
# Update Admin or User
1. Admin/User can edit any eld. If 1 eld given means, that particular eld should
update.
3. Created Time and Updated Time should be auto-updated and it cannot be manually
edit by any User/Admin.
4. An Admin can edit Admins/Users and himself. A User can edit users and himself.
3. An Admin can view Admins/Users and himself. A User can view Users and himself.
# Conditions
1. Without Authentication no one can view, add or edit any users.
# Greetings
Hope you understand the document thoroughly.
Thank you.
fi
fi
fi
fi
fi
fi