zautomata / poscomp-simulator

Poscomp-Simulator is a simple webapp that allows you test your knowledge to POSCOMP exam.

Home Page:https://poscomp-simulator.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to Poscomp-Simulator

Heroku License

Poscomp-Simulator is a simple webapp that allows you test your knowledge to POSCOMP exam.

🌟 Don't forget to give a star to this repo =)

Setup

  1. Install composer in your OS

  2. Clone the repo into your http server

    $ git clone https://github.com/allexlima/poscomp-simulator.git
    $ cd poscomp-simulator/
  3. Download the dependences using composer

    $ composer install
  4. Access the webapp http://localhost/poscomp-simulator and enjoy it

Deploy Poscomp-Simulator to Heroku without leaving the web browser!!

Deploy

Editing basic app info without access any php code

You can update some webapp attributes like app name, supervisor/professor name, app details, exam max grade, and if the app should shuffle alternatives. To do this updates you can edit the 6 first lines of src/data.json file! It isn't necessary change any PHP code =)

How to add, edit, or remove questions and answers?

  1. Open src/data.json file, then in the questions array attribute, you'll be able to add, editing, or removing questions/answers. It's important to follow the template above:

    {
    	"id": intValue,
    	"text": stringValue,
    	"answers": [
    		{"id": "a", "text": stringValue, "status": boolValue},
    		{"id": "b", "text": stringValue, "status": boolValue},
    		{"id": "c", "text": stringValue, "status": boolValue},
    		{"id": "d", "text": stringValue, "status": boolValue},
    		{"id": "e", "text": stringValue, "status": boolValue}
    	],
    	"source": stringValue
    }

Obs: Each question MUST have exactly 5 alternatives!


Developed by Allex Lima

Copyright © 2018 Poscomp-Simulator - Licensed by MIT LICENSE.

About

Poscomp-Simulator is a simple webapp that allows you test your knowledge to POSCOMP exam.

https://poscomp-simulator.herokuapp.com/

License:MIT License


Languages

Language:PHP 78.0%Language:JavaScript 11.4%Language:CSS 10.6%