{"id":21607360,"url":"https://github.com/maccyber/micro-bigfive-questions","last_synced_at":"2025-04-11T04:23:56.112Z","repository":{"id":82105835,"uuid":"79467407","full_name":"maccyber/micro-bigfive-questions","owner":"maccyber","description":"micro webservice that serves bigfive questions","archived":false,"fork":false,"pushed_at":"2023-12-15T14:28:45.000Z","size":233,"stargazers_count":7,"open_issues_count":2,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-28T02:36:37.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maccyber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-19T15:35:38.000Z","updated_at":"2018-12-09T21:00:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"8ddd6912-ead5-4eab-8b08-e24a097531f1","html_url":"https://github.com/maccyber/micro-bigfive-questions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccyber%2Fmicro-bigfive-questions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccyber%2Fmicro-bigfive-questions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccyber%2Fmicro-bigfive-questions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maccyber%2Fmicro-bigfive-questions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maccyber","download_url":"https://codeload.github.com/maccyber/micro-bigfive-questions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226225698,"owners_count":17592245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T20:30:07.792Z","updated_at":"2024-11-24T20:30:08.517Z","avatar_url":"https://github.com/maccyber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/maccyber/micro-bigfive-questions.svg?branch=master)](https://travis-ci.org/maccyber/micro-bigfive-questions)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n# micro-bigfive-questions\n\nExample: https://questions.bigfive.world\n\n[micro](https://github.com/zeit/micro) webservice that returns bigfive questions\n\n## Tests\n\n### Request\n\n```sh\n$ curl -v http://localhost:3000/tests\n```\n\n### Result\n\n```JavaScript\n[\n  {\n    \"active\": true,\n    \"default\": false,\n    \"name\": \"100-IPIP-NEO-PI-R\",\n    \"link\": \"http://ipip.ori.org/newNEODomainsKey.htm\",\n    \"info\": \"Costa and McCrae's NEO-PI-R (100 questions)\",\n    \"shuffle\": true\n  },\n  {\n    \"active\": true,\n    \"default\": true,\n    \"name\": \"Johnson-120-IPIP-NEO-PI-R\",\n    \"link\": \"http://ipip.ori.org/30FacetNEO-PI-RItems.htm\",\n    \"info\": \"(Recommended) 120 questions (Johnson's IPIP NEO-PI-R)\",\n    \"shuffle\": false\n  },\n  {\n    \"active\": true,\n    \"default\": false,\n    \"name\": \"Mini-IPIP\",\n    \"link\": \"http://ipip.ori.org/MiniIPIPKey.htm\",\n    \"info\": \"Mini-IPIP 5-factors (20 questions)\",\n    \"shuffle\": true\n  },\n  {\n    \"active\": false,\n    \"default\": false,\n    \"name\": \"Costa and McCrae's NEO-PI-R\",\n    \"link\": \"http://ipip.ori.org/newNEOFacetsKey.htm\",\n    \"info\": \"Costa and McCrae's NEO-PI-R (300 questions) (EXPERIMENTAL)\",\n    \"shuffle\": true\n  },\n  {\n    \"active\": true,\n    \"default\": false,\n    \"name\": \"50-IPIP-NEO-PI-R\",\n    \"link\": \"http://ipip.ori.org/newNEODomainsKey.htm\",\n    \"info\": \"Costa and McCrae's NEO-PI-R (50 questions)\",\n    \"shuffle\": true\n  },\n  {\n    \"active\": false,\n    \"default\": false,\n    \"name\": \"Adult Self-Report Scale (ASRS) Symptom Checklist\",\n    \"link\": \"http://www.mentalhealthprofessionalsinc.com/Forms/Adult_ADHD_Self-Report_Scale_(ASRS-v1.1).pdf\",\n    \"info\": \"Adult Self-Report Scale (ASRS) Symptom Checklist (18 questions)\",\n    \"shuffle\": true\n  },\n  {\n    \"active\": false,\n    \"default\": false,\n    \"name\": \"Lee and Ashton's (2004) HEXACO-PI\",\n    \"link\": \"http://ipip.ori.org/newHEXACO_PI_key.htm\",\n    \"info\": \"Lee and Ashton's HEXACO-PI (240 questions) (EXPERIMENTAL)\",\n    \"shuffle\": true\n  }\n]\n```\n\n## Questions\n\n### Request (POST)\n\n```sh\n$ curl -v http://localhost:3000/questions -d '{\"lang\": \"en\", testType: \"120\" }'\n```\n\n### Request (url params)\n\n```sh\n$ curl -v http://localhost:3000/questions?lang=en\u0026testType=120\n```\n\n### Result\n\n```JavaScript\n{\n  \"info\": {\n    \"active\": true,\n    \"default\": true,\n    \"name\": \"Johnson-120-IPIP-NEO-PI-R\",\n    \"link\": \"http://ipip.ori.org/30FacetNEO-PI-RItems.htm\",\n    \"info\": \"(Recommended) 120 questions (Johnson's IPIP NEO-PI-R)\",\n    \"shuffle\": false,\n    \"totalQuestions\": 120,\n    \"lang\": \"en\",\n    \"scoreMax\": 5,\n    \"scoreMin\": 1,\n    \"domains\": 5,\n    \"facets\": 30,\n    \"id\": \"120\",\n    \"languages\": [\n      \"en\",\n      \"es\",\n      \"no\"\n    ]\n  },\n  \"questions\": [\n    {\n      \"text\": \"Worry about things\",\n      \"choises\": [\n        {\n          \"text\": \"Very Inaccurate\",\n          \"score\": 1,\n          \"color\": 1\n        },\n        {\n          \"text\": \"Moderately Inaccurate\",\n          \"score\": 2,\n          \"color\": 2\n        },\n        {\n          \"text\": \"Neither Accurate Nor Inaccurate\",\n          \"score\": 3,\n          \"color\": 3\n        },\n        {\n          \"text\": \"Moderately Accurate\",\n          \"score\": 4,\n          \"color\": 4\n        },\n        {\n          \"text\": \"Very Accurate\",\n          \"score\": 5,\n          \"color\": 5\n        }\n      ],\n      \"domain\": \"N\",\n      \"facet\": 1,\n      \"id\": 1\n    }\n  ]\n}\n```\n\n## Calculate score\n\nSee [micro-bigfive-evaluator](https://github.com/maccyber/micro-bigfive-evaluator)\n\n## Supported languages\n\nSet ```lang``` to code\n\n| Code | Name      | Translator |\n| ---- | --------- | ---------- |\n| en   | English   |            |\n| es   | Spanish   | [Eduardo Calle](github.com/nieled) |\n| no   | Norwegian | Eli Huseby |\n\n## Supported tests\n\nSet ```testType``` to code\n\n| Code | Name |\n| ---- | ---- |\n| 300 | - |\n| 120  | Johnson-120-IPIP-NEO-PI-R |\n| 100  | - |\n| 50   | - |\n| 20   | - |\n| hexaco | - |\n\n## Deploy using [Now](https://zeit.co/now)\n\n```sh\n$ now https://github.com/maccyber/micro-bigfive-questions\n```\n\n## Related\n- [bigfive-web](https://github.com/maccyber/bigfive-web) Web frontend for bigfive tests\n- [micro-bigfive-evaluator](https://github.com/maccyber/micro-bigfive-evaluator) Webservice that evaluates bigfive questions\n- [micro-bigfive-generator](https://github.com/maccyber/micro-bigfive-generator) Webservice that generates and saves results to bigfive-web\n- [micro-bigfive-results](https://github.com/maccyber/micro-bigfive-results) Webservice that returns bigfive informative test results\n- [micro-bigfive-save](https://github.com/maccyber/micro-bigfive-save) Webservice that stores bigfive answers\n\n## License\n\n[MIT](LICENSE)\n\n## About\n\nCreated with \u003c3 by [zrrzzt](https://github.com/zrrrzzt) and [maccyber](https://github.com/maccyber)\n\n![alt text](https://robots.kebabstudios.party/zrrrzzt.png \"Robohash image of zrrrzzt\") \n![alt text](https://robots.kebabstudios.party/maccyber.png \"Robohash image of maccyber\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaccyber%2Fmicro-bigfive-questions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaccyber%2Fmicro-bigfive-questions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaccyber%2Fmicro-bigfive-questions/lists"}