Prod: https://bigfive-test.com
Website for five factor model of personality based on work from IPIP-NEO-PI.
Tests and evaluation is gathered from ipip.ori.org.
See it live @ bigfive-test.com
The frontend is written in nodejs using the Nuxt.js framework.
Download and install nodejs, git and vercel-cli
Make sure nodejs version is equal or greater than 12
The results are saved to a mongodb database, so for a full test you either need a running mongodb or an instance at mlab
add .env file
MONGODB_URI=mongodb://<your-mongodb-url>
MONGODB_COLLECTION=results
BASE_URL=http://localhost:3000
Run the setup script to install all dependencies
yarn run setup
yarn dev
yarn test
yarn lint
yarn lintfix
Deploy using vercel-cli
Add a secret with the mongodb connection. Example:
vc secrets add mongodb_uri mongodb://<username>:<password>@domain.com:53659/bigfive
Update now.json to match your environment.
You will need to change the properties scope
, alias
and env.BASE_URL
Update nuxt.config.js to match your environment.
You will need to change the base_url
and env.API_URL
and the ids for analytics and amplitude.
Run to deploy
vc --confirm
Deploy using Docker
Todo
- b5-johnson-120-ipip-neo-pi-r - Module for returning Big Five Johnson 120 IPIP-NEO-PI-R items
- b5-result-text - Text for big five results score generated by b5-calculate-score
- bigfive-calculate-score - Calculate score for big five tests
- b5-translation-web - Translate without using GitHub
If you want to help by translating the items to other languages this is how you do it.
TODO