Ask a Question

Surveyo

Surveyo is a sample app that provides users with a survey tool that they can use to quickly create and respond to surveys. Advanced users can use Surveyo’s GraphQL endpoint to run complex queries on survey results. This app demonstrates how to use React hooks with Apollo client to create surveys, collect responses, visualize responses with charts, export responses into CSV, and delete surveys. The repo for this app can be found on GitHub at dgraph.io/graphql-sample-apps/surveyo.

Features

  • Supports Short Answer, Multiple-Choice Question, Date Query and Rating type of questions
  • Visualize responses collected as Pie Chart, Word Cloud and Bar chart
  • Provides inline GraphiQL IDE to make GraphQL queries to chart data directly
  • Export survey responses into CSV.

Front-end

  • React (3.4.1)—a JavaScript library for building user interfaces.
  • Apollo Client (3.1.1)—a comprehensive state management library for JavaScript that enables you to manage both local and remote data with GraphQL.
  • Auth0 React—Auth0 SDK for React Single Page Applications (SPA).
  • AntDesign—a design system for enterprise-level products.
  • Chart.js—a simple yet flexible JavaScript charting for designers & developers
  • TypeScript—extends JavaScript by adding types.
  • GraphiQL—a graphical interactive in-browser GraphQL IDE

Back-end

  • Dgraph Cloud—a fully managed GraphQL backend service
  • Auth0—Secure access for everyone.