Example: https://evaluator.bigfive.maccyber.io/
micro webservice that calculates score of personality test questions
See bigfive-web for full repo.
POST
Array with domain and score. Facet is optional.
{
"timeElapsed": -51,
"ip": "127.0.0.1",
"lang": "en",
"test": "50-IPIP-NEO-PI-R",
"totalQuestions": 50,
"answers": [
{
"domain": "A",
"facet": "1",
"score": "3"
},
{
"domain": "A",
"facet": "1",
"score": "3"
},
{
"domain": "E",
"facet": "1",
"score": "3"
},
{
"domain": "E",
"facet": "2",
"score": "3"
}
]
}
returns score for each factor
{
"timeElapsed": -51,
"ip": "127.0.0.1",
"lang": "en",
"test": "50-IPIP-NEO-PI-R",
"totalQuestions": 50,
"answers": [
{
"domain": "A",
"facet": "1",
"score": "3"
},
{
"domain": "A",
"facet": "1",
"score": "3"
},
{
"domain": "E",
"facet": "1",
"score": "3"
},
{
"domain": "E",
"facet": "2",
"score": "3"
}
],
"data": {
"A": {
"score": 6,
"count": 2,
"result": "neutral",
"facet": {
"1": {
"score": 6,
"count": 2,
"result": "neutral"
}
}
},
"E": {
"score": 6,
"count": 2,
"result": "neutral",
"facet": {
"1": {
"score": 3,
"count": 1,
"result": "neutral"
},
"2": {
"score": 3,
"count": 1,
"result": "neutral"
}
}
}
}
}
Deploy using Now
$ now https://github.com/maccyber/micro-bigfive-evaluator
- bigfive-web Web frontend for bigfive tests
- micro-bigfive-questions Webservice that returns bigfive questions
- micro-bigfive-generator Webservice that generates and saves results to bigfive-web
- micro-bigfive-results Webservice that returns bigfive informative test results
- micro-bigfive-save Webservice that stores bigfive answers