/Survey-App

A simple website to create and manage survey and polls.

Primary LanguageRuby

Survey App

A Full Stack Web Application created as part of Web Club NITK Googe DSC Recruitments 2019.

Task ID: Survey_App

A survey application for creating and answering simple mutliple choice questions.

I had to remove heroku instances since I had reached 5 apps limit. Please check out instructions for running this application locally below.

Screenshots

Log in page Index Options not filled Invite Show Load results Load Survey

Features Implemented

  • Authentication
  • Answering survey
  • Aggregrate results
  • Authorization for surveys
  • Creating Surveys

Installation

1. Install and configure Postgresql

The application uses Postgresql to maintain compatablity with Heroku.

Instructions for Ubuntu

2. Clone the repository and change directory

git clone https://github.com/abhishekkumar2718/Survey-App; cd Survey-App

3. Install required gems

Gems are the ruby equivalent of third party libraries.

Optional: Install RVM (an environment manager for ruby) and create a gemset. Read more here

Install Bundler (a package manager for ruby gems)

gem install bundler

Install required gems.

bundle install

4. Set up the database

This command creates the database, the tables and sets up the neccesary data seed.

rails db:setup

5. Run your server

The application has been installed and can be used. Use the following command to run the server.

rails s

Milestones

  • Setup Materialize
  • Setup Devise
  • Generate model
  • Create seed data
  • Answer flow
  • Host on Heroku
  • Authorization for surveys
  • Creating surveys
  • Improvements to UX

Possible Extensions

  • Comment Chains
  • Time bound surveys