Giter Club home page Giter Club logo

dev-test's Introduction

bigfive-web

Bigfive logo

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

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

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 Compose

cd docker
docker-compose up

Related

Help wanted

If you want to help by translating the items to other languages this is how you do it.

License

MIT

About

TODO

dev-test's People

Contributors

maccyber avatar zrrrzzt avatar ywalia01 avatar rovel avatar janitchawla avatar dependabot[bot] avatar harshalszz avatar evandroamparo avatar sva1 avatar zacharyzollman avatar sesam avatar phaicom avatar enzodiazdev avatar spring3 avatar girgetto avatar dancek avatar hans5958 avatar luiserdef avatar pingu84 avatar sk6298 avatar karate avatar kryptondv avatar luvuong-le avatar masyoudi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.