Filter the list of users to find mentors
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:
- TECHNOLOGY
- COUNTRY
- NAME
- LANGUAGE (English, Spanish, Japanese, etc....)
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?
You need to install azure tools, here's how: https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local#brew