This repository contains complete code for Back end engineering assessment.
- Create order and user model with the most appropriate relationship.
- Order can have a few basic fields, user relationship is important.
- Create CRUD APIs for both models with authentication.
- No user can have access to other users' orders.
- An authenticated API to get all emails of all users. Only a super admin user can execute this API.
- Providing a list of emails, get all orders owned by users having those email addresses. Only a super admin user can execute this API.
- Add unit tests or dockerization (I added dockerization).