Build a Microservice Api that would have the following endpoints:
-
Onboard a customer: The endpoint should take phone Number, email , password, state of residence, and LGA.
Business Rule
(i) The phone number should be verified via OTP before an onboarding is said to be completed
(ii) The lga must be mapped to the state selected. (iii) Mock sending the OTP. -
Endpoint to return all existing customers previously onboarded 3. An endpoint that will return existing Bank: browse the link below, you will find an endpoint called Getbanks. consume that endpoint and output the result you https://wema-alatdev-apimgt.developer.azure-api.net/api-details#api=alat-tech-test-api Note.
- Use Asp dotnet core to build the api, add swagger documentation
- Use Microsoft sql db and entity framework.
- ensure that you apply all standard engineering principle, be mindful of the pattern you apply and also consider adding unit testing
- push your code to a public git repo and share the link