Wiredcraft / test-backend

39 stars 76 forks source link

Q&A about the requirement #4

Closed xavierchow closed 7 years ago

xavierchow commented 9 years ago

@makara Hi, It seems the requirement of this quiz is just making a restful API for user resource, it doesn't relate to any login or authentication you mentioned in mail. Am I missing sth?

makara commented 9 years ago

Well the readme here is for a previous test.

sylvainv commented 7 years ago

Hi, i am curious about authentication too. Am I missing something as well or is it not required ?

sylvainv commented 7 years ago

Another question is that I have to use Loopback.io for this test. After starting to program a little bit, it seems a bit weird to me since the goal is also to test the code and unit testing. But if I use loopback.io I won't have to write much code, mostly configuration and probably not much unit testing either, since it's all the work is done by Loopback. I am now a bit confused by the purpose of the test.

ChopperLee2011 commented 7 years ago

@sylvainv Hi, I am Chopper, a developer from Wiredcraft, let me answer ur question here:

  1. The authentication part is not the 'Requirements' in this task, but it should be common sense to have this feature with user's API, and it will make ur work more impressive than others if u have a stable well-designed solution, if u know what I mean.
  2. For the other question, our team use mocha && chai for making unit test on loopback, it is nothing more than testing express app, my point is that u still need test code for confirming all ur restful api works as expected, even mostly logic is generated by loopback framework.
  3. At last, I know this task maybe a little simple, so the bonus is how much u can handle a new backend framework in the limit time, and how many ideas u can bring to for this project, such as authentication solution, logging solution, or devops solution. Please do not limit ur thought by the requirements, it is not a standard work, it is a open-mind task for hiring people.
sylvainv commented 7 years ago

ok thanks.

xavierchow commented 7 years ago

Closing, feel free to reopen it if there's any questions.