| Name | Last commit date | |
|---|---|---|
| .. | ||
| .vscode | 2 years ago | |
| posts | 2 years ago | |
| public | 2 years ago | |
| src | 2 years ago | |
| .eslintrc.json | 2 years ago | |
| .gitignore | 2 years ago | |
| .prettierrc.json | 2 years ago | |
| contentlayer.config.ts | 2 years ago | |
| docker-compose.yaml | 2 years ago | |
| next.config.js | 2 years ago | |
| package.json | 2 years ago | |
| pnpm-lock.yaml | 2 years ago | |
| postcss.config.js | 2 years ago | |
| README.md | 2 years ago | |
| tailwind.config.js | 2 years ago | |
| tsconfig.json | 2 years ago | |
bigfive-web
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 Next.js framework.
Installation
Download and install nodejs, git and vercel-cli
Install yarn
npm install --global yarn
Install docker and docker-compose
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.local file
NEXT_PUBLIC_ENV=development
DB_URL=mongodb://root:example@localhost:27017
DB_NAME=b5
DB_COLLECTION=results
Run the setup script to install all dependencies
yarn
Start mongodb server
docker-compose up -d
Run the development server
yarn dev
Linting
Run the linter
yarn lint && yarn format:fix
License
Licensed under the MIT license.