/assessment

Backend assessment

Primary LanguagePython

BACKEND ASSESSMENT

This repository contains complete code for Back end engineering assessment.

POINTS COVERED
  1. Create order and user model with the most appropriate relationship.
  2. Order can have a few basic fields, user relationship is important.
  3. Create CRUD APIs for both models with authentication.
  4. No user can have access to other users' orders.
  5. An authenticated API to get all emails of all users. Only a super admin user can execute this API.
  6. Providing a list of emails, get all orders owned by users having those email addresses. Only a super admin user can execute this API.
  7. Add unit tests or dockerization (I added dockerization).