https://github.com/nitrocode/challenge-questionnaire
A challenge to write a questionnaire web app in Flask and jQuery
https://github.com/nitrocode/challenge-questionnaire
challenge
Last synced: 3 months ago
JSON representation
A challenge to write a questionnaire web app in Flask and jQuery
- Host: GitHub
- URL: https://github.com/nitrocode/challenge-questionnaire
- Owner: nitrocode
- License: mit
- Created: 2017-06-22T04:49:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-25T01:12:46.000Z (over 8 years ago)
- Last Synced: 2025-04-01T19:50:53.882Z (10 months ago)
- Topics: challenge
- Language: HTML
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Description
Tiny Flask app designed to read a file of questions, display in a table, and allows modification of values.
Quick and dirty proof of concept.
## Prerequisites
* python
* virtualenv
* npm
* bower
## Setup
$ bower install jquery
$ cp bower_components/jquery/dist/jquery.min.js app/static/
$ virtualenv env
$ . env/bin/activate
(env) $ pip install -r requirements.txt
## Run
(env) $ python run.py
# Issues
It's possible that there may be stale `pyc` files in the directory that could cause issues. To prevent that, try removing all `pyc` files prior to running the app.
(env) $ find . -name "*.pyc" -delete
# TODO
## UI
* data validation
* answer verification
* better UI of distractors
* 404 page
## Infrastructure
* grunt
* docker
* setup as models.py, views.py, etc setup
* paging for speed
* minification for speed
* sqlite instead of csv
* app logging
* sphinx