Giter Site home page Giter Site logo

youpoll's Introduction


YouPoll

Creating polls for the people by the people

_______________

Tablet Demo

Table of Contents




Key Features

  1. Create Polls
  2. View and vote on Polls
  3. Quick metrics on how many votes a poll has
  4. Result percentages
  5. Authenticated sign/in/up/out









                                                                                                                                                                                                     

Built With

(back to top)

Tablet Demo
  1. Supabase
    • Authenticated users
    • Postgres database
    • Realtime subscriptions
  2. React query
    • Handles querying, mutation and caching
    • Invalidates queries on mutations/subscription hooks
















                                                                                                                                                                                                     


User flow

(back to top)

    ├── {App starts}
    ├── Landing.tsx             # Checks session of supabase.auth user to send to "Login" or "Feed"
    ├── Login.tsx/Signup.tsx    # Creates/updates supabase.auth user to setup Auth state and session
    ...
    ├── Home.tsx                # Houses bottom tab navigation view
    │   ├── Feed.tsx            # Displays "polls" table with "answers" for quick info "votes" "created_at"
    │   ├── Poll.tsx            # Displays selected poll by "pollId", associated options and the percentage
    │   ├── Settings.tsx        # Allows logout/theme functionality and displays account info
    ...
    └── Create.tsx              # Displays create Poll form

How to test

(back to top)

Step 1:

Install NPM packages

npm install or yarn install

Step 2:

Runs the ios app in the development mode.

If first time, make sure ios simulator is running

npm run ios or yarn run ios

youpoll's People

Contributors

knthslai 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.