Coder Social home page Coder Social logo

o-richard / personalitytest Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.5 MB

An application that helps one determine their traits based on questionnaires or a brief description of themselves. It is created using Django and React. It uses the sentino API.

Procfile 0.02% JavaScript 55.01% Python 6.93% CSS 37.52% HTML 0.53%
django reactjs personality-test sentino-api big-five-traits neo-personality-inventory

personalitytest's Introduction

PersonalityTest

contributions welcome

This is a project built on django and react js. It helps one determine their traits based on questionnaires or a brief description of themselves. It uses the sentino API.

Homepage

Requirements (Prerequisites)

Tools and packages required to successfully install this project.

Installation

Clone this project in your local machine. Create a virtual enviroment and enter it.

Run the following commands in the virtual environment to install all requirements of this project.

pip install -r requirements.txt

npm install

Create a .env file in your projects root folder.

    SECRET_KEY = YOUR_SECRET_KEY
    DEBUG = A boolean value
    ALLOWED_HOSTS= A list of comma separated hosts to allow.
    SENTINO_TOKEN = YOUR_SENTINO_TOKEN

To request an API token from sentino, please refer to the sentino website.

Ensure you are in the project's root folder when you run the following command.

python manage.py runserver

Usage example

  • Choose one of the two options at the homepage.

  • When you choose "Write something about Yourself", you will fill a brief description of yourself according to the instructions given.

A brief description of yourself

  • After you submit, you will get an analysis on your personality according to the big 5 traits.

An analysis on your big 5 traits

  • When you choose "Take a Questionnaire", you will have to choose the number of questions.

Options on number of questions

  • You have to choose one of the seven answers in the response to a given question.

Sample question

  • After you finish all questions, you will get an analysis on your personality according to the neo personality inventory.

An analysis according to the neo personality inventory

Project Structure

The django project has one app.

  • quiz - Contains all the personality test related information.

Other folders:

  • assets - Contains react components.
  • personality - Contains configurations for the django project.
  • screenshots - Contain screenshots of the application.
  • static - Contains static files used by the django project.
  • staticfiles - Contains a collection of all the static files used by the project after using the command, python manage.py collectstatic
  • templates - Contain templates used by the django project.

Built With

  1. Django - The Django framework
  2. React js - React JS

Author

The author of this project is Richard Odhiambo.

You can find me here at: Github

How to Contribute

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.

Steps to contribute:

  1. Fork this repository.
  2. Create your feature branch.
  3. Commit your changes.
  4. Push to the branch.
  5. Create a new Pull Request.

License

This project is licensed under the MIT License.

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.