https://github.com/ethenkem/PyGraphSurvey
A python base web app that provide graphical analysis on data collected from surveys and the system has its on built in form fiiling where admin can set question and sent a link for the forms to be filled and then the system provide anylysis on the collected data. Form feature include selection options, range values file inputs etc
https://github.com/ethenkem/PyGraphSurvey
data
Last synced: about 1 year ago
JSON representation
A python base web app that provide graphical analysis on data collected from surveys and the system has its on built in form fiiling where admin can set question and sent a link for the forms to be filled and then the system provide anylysis on the collected data. Form feature include selection options, range values file inputs etc
- Host: GitHub
- URL: https://github.com/ethenkem/PyGraphSurvey
- Owner: ethen-kem
- Created: 2024-08-26T10:47:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T00:45:34.000Z (over 1 year ago)
- Last Synced: 2024-10-17T13:55:06.240Z (over 1 year ago)
- Topics: data
- Language: Python
- Homepage:
- Size: 283 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hosted on
```
https://survey-app-yjrt.onrender.com
```
# Setup
```bash
cd survey-app
pip install requirements.txt
./manege.py makemigrations | python manage.py makemigrations
./manage.py migrate | python manage.py migrate
```
# Testing
```bash
./manage.py test | python manage.py test
```
# Running the program locally
```bash
./manage.py runserver | python manage.py runserver
```
# Running the docker image
```bash
docker pull bhigethan/survey_app:latest
docker run -p 8000:8000 \
-e POSTGRES_USER= \
-e POSTGRES_DBNAM= \
-e POSTGRES_USER_PASSWORD= \
-e HOST= \
-e PORT= \
bhigethan/survey_app:latest
```
# Runnig in Production Environment
```bash
gunicorn SurveyApp.wsgi
```
# Swagger Documentation api
```
/api/schema/swagger-ui/
```
# 16 directories, 68 files
# Projecct Structure
```plaintext
.
├── accounts
│ ├── admin.py
│ ├── apps.py
│ ├── __init__.py
│ ├── models.py
│ ├── repository.py
│ ├── serializers.py
│ ├── tests.py
│ ├── urls.py
│ └── views
│ ├── __init__.py
│ └── views.py
├── auth_backend
│ ├── backends.py
│ ├── __init__.py
│ └── tests.py
├── db.sqlite3
├── Dockerfile
├── ImageResponses
│ └── Untitled.png
├── main
│ ├── admin.py
│ ├── apps.py
│ ├── __init__.py
│ ├── models
│ │ ├── __init__.py
│ │ ├── questions.py
│ │ ├── responses.py
│ │ └── surveys.py
│ ├── repository
│ │ ├── __init__.py
│ │ ├── question.py
│ │ ├── response.py
│ │ └── survey.py
│ ├── serializers
│ │ ├── __init__.py
│ │ ├── question.py
│ │ ├── response.py
│ │ └── survey.py
│ ├── test
│ │ ├── base.py
│ │ ├── __init__.py
│ │ ├── question.py
│ │ ├── response.py
│ │ ├── sa_apis.py
│ │ ├── sa_views.py
│ │ ├── sp_views.py
│ │ └── survey.py
│ ├── urls
│ │ ├── __init__.py
│ │ ├── sa_urls.py
│ │ └── sp_urls.py
│ └── views
│ ├── __init__.py
│ ├── sa_dashboard_apis.py
│ ├── sa_dashboard_views.py
│ ├── sp_dashboard_apis.py
│ └── sp_dashboard_views.py
├── manage.py
├── README.md
├── requirements.txt
├── scripts
├── SurveyApp
│ ├── asgi.py
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── tailwind.config.js
├── templates
│ ├── sa_dashboard.html
│ ├── sa_login.html
│ ├── sa_question_options.html
│ ├── sa_question_responses.html
│ ├── sa_questions.html
│ ├── sa_register.html
│ ├── sp_response.html
│ ├── survey_detail.html
│ └── survey_questions.html
└── utils
├── general.py
├── __init__.py
└── question.py
```