Please spend no more than 5 hours on this task. If you cannot complete the entire task in less than 5 hours, please commit what you are able to finish within that time frame. This is an API test only. No frontend component.
Please push your code to a public repository on Github and either PM it to Rob on Slack or email to [email protected]
Please create a new Laravel 8 application that fulfills the following functionality.
Please note: There is no frontend component to this. These are API routes only. Please create tests for all endpoints to show they are functioning as required by the test.
- A user can add people
- A user can connect people together as families
- A user can see a family tree to any particular Person in the application
- Each time a new person is added, a new Notification should be dispatched to a Slack webhook. Please PM Rob on Slack for the webhook - use Laravel Notifications and this Slack notification package: https://github.com/laravel/slack-notification-channel
- Please use Laravel 8
- Everything should be done the "Laravel way" and following our coding standards here: https://64robots.notion.site/Backend-f19f189aa0964f4eb5d416785a72ac04
- Please test as you would in your own applications. PHPUnit or Pest are fine.
For the sake of the test, you will be evaluated solely on two items:
- Your PHP code
- Your tests
The most important part is that we should be able to quickly look at and understand how you write code and how it jives with our coding standards.