Coding-Coach / coding-coach-api

62 stars 39 forks source link

Filter the list of users to find mentors #50

Open crysfel opened 5 years ago

crysfel commented 5 years ago

In order to support the current filtering in the alpha app, we need to add filtering to the current list of users endpoint /api/get-users.

We also need a way to set users as mentors, currently all users are equal but we need to returns mentors only, maybe adding another field to the user model will do the trick mentor: true | false.

The endpoint should filter by:

analistacarlosh commented 5 years ago

Hello @crysfel, I have done these steps below:

1 - pull in development branch localy 2 - docker-compose up -d to install the container 3 - yarn run start Then I’m getting this error: https://www.dropbox.com/s/8o04xwwis01jww2/Screenshot%202019-05-08%2008.25.13.png?dl=0

I have checked on google and already updated the yarn but it is seems related with /bin/sh in my machine; Did you have the same error? or have any idea about?

4 - Please, could you send me Postman requests to create users?

crysfel commented 5 years ago

You need to install azure tools, here's how: https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local#brew