EMA Co. is seeking for backend developers expert in python-django stack. For this purpose, the following document has been provided demonstrating the recruitment test task definitions, prerequisites.
This task is part of an accounting project related to registering vouchers. Each voucher has tow or more items with some properties, the master and the subsidiary are the main ones. A user selects a master account from a list of previously masters. Then a list of subsidiaries related to the selected master account will be shown to the user. There are more fields for each voucher item which is not at the scope of this assignment, so are ignored.
You need to design tow tables, master and slave each with the following fields:
-
Field Desc Title - Code - Created_Date - Creator A foreign key to Person table, simply put number in it. -
Field Desc Title - Code - Created_Date - Creator - Master A foreign key to Master table. Parent A relation to another record in Subsidiary table.
Please fork this repository and give the access when the task is done.
The CRUD operation on these tables should be implemented with the following conditions:
- The Read operation should be paginated.
- The Delete operation should be soft delete operation.
- The Read APIs should implement filtering on Title and Code fields on both tables.
- Implement any validation you think there should be.
Create export-to-excel APIs for read operations.
Happy Coding 😃