I do not know the power of javascript very well, but wanted to do the following:
I have two models:
Vacancy:
{
Name: "VagaExemplo",
Description: "Descricao",
Skills: {
"56b68108869038280db291e6": "90",
"56b68108869038280db291d9": "70",
}
}
and various templates of the type:
Person1
{
Name: "PessoaExemplo",
Description: "Descricao",
Skills: {
"56b68108869038280db291d9": "60",
},
Pontuacao: 10
}
Person2
{
Name: "PessoaExemplo2",
Description: "Descricao",
Skills: {
"56b68108869038280db291e6": "90",
"56b68108869038280db291d9": "80",
},
Pontuacao: 0
}
The idea is to multiply the value of each skill of the job with that of the person and add up to generate a score for the person.
Could anyone help me or at least a link to a material about it? Hugs.