bigfive-web
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.
Preview
Installation
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
Development
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
Compiles and hot-reloads for development
yarn dev
Run your unit tests
yarn test
Lint
yarn lint
yarn lintfix
vercel-cli
Deploy usingAdd 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
Docker Compose
Deploy usingcd docker
docker-compose up
Related
- 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
Help wanted
If you want to help by translating the items to other languages this is how you do it.
License
About
TODO