https://github.com/bytangle/candidate-test
https://github.com/bytangle/candidate-test
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/bytangle/candidate-test
- Owner: bytangle
- Created: 2024-04-19T11:30:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T10:41:30.000Z (about 2 years ago)
- Last Synced: 2024-12-30T19:47:57.139Z (over 1 year ago)
- Language: TypeScript
- Size: 104 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TASKS
1. The server is not running due to an export issue. Please find and fix (hint: the issue is in auth.module.ts)
2. The validate route handler (`auth/login`) in app.controller.ts is not setup well, complete the setup and test that it works
3. Add guard to the `customers/loans-summary` to check X-ACCESS-KEY in the header and ensure it equals 12345 before someone can access the route
4. Complete the implementation for the `getCustomersLoanApplicationSummaries` app.service.ts method to return the customerId, customerName & the totalLoanApplicationAmount of the customer using aggregation pipeline, (hint, u can use group, lookup, sum)