Instructions
Thank you for accepting the challenge. Please read carefully the statement and instructions below and if you have any questions contact us. Use PHP and your preferred tools (libraries, frameworks, etc.) that make you feel more comfortable, so that we can see your best qualities.
This exercise is not particularly difficult and should not take more than 30 minutes to complete.
What we like to see:
Simplicity – Problems must be solved by taking into account their requirements. Do not use unnecessary abstractions, patterns, and architectural features to solve the problem.
Self-explanatory code – The code must be written in a coherent way (syntax) and so that no comments are needed to explain its operation.
Tests – Use of unit tests using TDD and excellent coverage.
Statement
Write a RestFull API with 5 endpoints:
- Create User
- List Users
- Delete User
- Update User
- View User
Where the User Model is composed of:
- Name
- Birthday
- Gender
You must follow the following rules:
- use PHP >= 7.0
- use MVC with namespaces
- Don’t forget to produce documentation on all your code
- Demonstrate your code’s quality and logic
Delivery
Send us a link to a Git repository, with a small readme explaining how to execute the algorithm and the tests.
Good luck!