Hee hee,
In general, it's hard to hire the correct people right away. It's impossible to always hire the best or the right person. So you have to accept that you might make a mistake with this at some point. But that is good. You learn from those experiences ;)
I would personally not like a code assessment call where my interviewer would be watching me code. In general, when a developer is working they do it on their own. There might be some pairing from time to time or some discussion about how to solve something but in the end, the code is written on their own.
The company where I work also has a coding challenge. However, we let the person do this at home in their own time. We tell them to take around 2 to 3 hours to work on it. After that, they send us what they have and we look at that. The coding challenge itself has some challenges with an API. We leave the user free to set up a nice frontend and write tests for it. Based on those decisions we can already see what kind of coder this is. We review the code and then discuss it with the candidate. Maybe give some feedback or ask about how things can be solved differently if there was more time. They didn't complete the challenge but added tests for the most important parts, well that is way better than a person who spends two hours on some CSS to make it look good
You can find our code challenge below and you can use it for your own purposes ;) Let me know if you have any questions.
Laravel Coding Challenge
To do a small Laravel check-up we have thought out the following challenge for you. In general, this challenge should be completable in around 2 hours. It’s not a big issue if you take longer or don’t finish on time. The goal is to get a clear view of how you think and work.
The challenge
The challenge will contain a few core features most applications have. That includes connecting to an API, basic MVC, exposing an API, and finally tests.
The API we want you to connect to is https://kanye.rest/
The application should have the following features
- A web page that shows 5 random Kayne West quotes (must)
- There should be a button to refresh the quotes (must)
- Authentication for this page should be done with a password (must)
- An API route should be available to fetch 5 random Kayne West quotes (must)
- The API route is secured with a token (nice to have)
- Above features are tested with Feature tests (must)
- Above features are tested with Unit tests (nice to have)
- Provide a README on we can set up and test the application (must)
Notes
- HTML/CSS/JS styling is not part of this, it doesn’t matter how it looks like.