rahulgurnani / surveyo

Create, share and analyse Surveys with a GraphQL backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Surveyo

A simple survey form-creator application that can be used to create forms, collect responses, and visualize the aggregate data. It also gives users a GraphQL interface to perform complex queries on the collected data. Code respositroy is here.

Hosted here and create your first form!

Front-end: React, ANT Design

Back-end: Slash GraphQL (Database), Auth0 is used for creating JWT and create user hook

Features

  • Supports Short Answer, MCQs, Date Query and Rating type of questions.
  • Visualize responses collected as Pie Chart, Word Cloud and Bar chart
  • Provides GraphiQL IDE to make GraphQL queries

Demo

Creating a form

Visualizations of responses

Code structure and usage

Running locally

Environment variables

To configure Surveyo with Slash GraphQL, set REACT_APP_GRAPHQL_ENDPOINT to the endpoint of your Slash cluster.

Auth0 configuration

We use Auth0 for authorisation. The snippets for auth0 configuration are checked in the code here. The steps of configuring Auth0 dashboard are mentioned in the blog post here. After configuring Auth0 dashboard, update the Auth0 config used in the code present in src/AuthConfig.json.

Contribution guidelines

This is an open source project, and we welcome contributions. Please open an issue if you have a feature request or better still if you have a PR for us to review.

Issues

We use GitHub issues to track bugs and requests. Please ensure your bug description is clear and has sufficient instructions to be able to reproduce the issue. For feature requests, we would try to prioritize based on popularity.

Pull Requests

All active development of this project happens on GitHub. We actively welcome your pull requests.

License

Apache License 2.0

About

Create, share and analyse Surveys with a GraphQL backend

License:Apache License 2.0


Languages

Language:TypeScript 82.9%Language:JavaScript 11.7%Language:HTML 3.0%Language:CSS 2.4%