GithubHelp home page GithubHelp logo

survey-app's Introduction

Hosted on

https://survey-app-yjrt.onrender.com

Setup

cd survey-app
pip install requirements.txt
./manege.py makemigrations | python manage.py makemigrations
./manage.py migrate | python manage.py migrate

Testing

./manage.py test | python manage.py test

Running the program locally

./manage.py runserver | python manage.py runserver

Running the docker image

docker pull bhigethan/survey_app:latest
docker run -p 8000:8000 \
-e POSTGRES_USER=<postgres_user> \
-e POSTGRES_DBNAM=<postgres_dbname> \
-e POSTGRES_USER_PASSWORD=<postgres_user_password> \
-e HOST=<host> \
-e PORT=<port> \
bhigethan/survey_app:latest

Runnig in Production Environment

gunicorn SurveyApp.wsgi

Swagger Documentation api

/api/schema/swagger-ui/

16 directories, 68 files

Projecct Structure

.
├── 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

survey-app's People

Contributors

ethen-kem avatar

Watchers

 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.