Giter Site home page Giter Site logo

mark-my-quizzy's Introduction

Mark My Quizzy

Made with tender loving care by Anna ๐ŸŸ and Joko ๐ŸŒป

โ˜€๏ธ Overview

The world is in a... state. We need something to keep us entertained and cheerful until we can leave our homes and gather with our friends in close groups again. And what better way than hosting a remote spring-themed quiz for all of our friends and loved ones?

Usually, our quizzes have a crucial pen and paper and swap-with-the-team-next-to-you element to them. Alas, not this time.

Luckily though, we are not only quiz queens and marathon quaranteeners, but also delightful devs, so we decided to create an app to provide an interactive peer marking experience for our quizees.

The goal was to make it reusable, easy to use and beautiful.

To see for yourself what we ended up with, visit the site on: https://jaquizzy.netlify.app/

๐ŸŒน How to use

The database

This app connects to an Airtable database. You can access the required template here by clicking Copy base in the top right hand corner. Once copied into your own workspace, you can edit the fields of the quiz submission form and add in your own question names/categories.

The Airtable docs are really helpful when it comes to understanding the interface.

Running the project

git clone https://github.com/tloth/mark-my-quizzy.git

Add your AIRTABLE_API_KEY to a .env file.

yarn install
yarn start

That's it! It's ready to view on http://localhost:3000 with netlify-lambda proxying the Netlify Functions requests to http://localhost:9000

๐Ÿค The plan

The idea was simple. Three pages:

  • A welcome page with a form.
  • A marking page with another team's prefilled answers.
  • A results page with live scores.
Rough designs

With a week to go, we got to work.

๐ŸŒบ Finished result

Screenshot from the website

๐ŸŒท Technologies used

  • React
  • Typescript
  • Airtable
  • @reach/router
  • Netlify functions
  • styled components

mark-my-quizzy's People

Contributors

jokosanyang avatar tloth avatar

Watchers

 avatar  avatar  avatar

mark-my-quizzy's Issues

accessibility

currently, the navigation is not tabbable ๐Ÿ˜ž

prop types

figure out how to declare prop types when you are passing them down to a child component
AND THEN RENAME FILE TO .TSX ๐Ÿ˜ฟ

Congratulations page

Animated fireworks background
w CSS keyframes?
Secret way to get there. Easter egg

Results page

  • Send query to update Airtable with total team score
  • Send get request for all the scores

Router

React Router for the pages.

/: Welcome page
/mark: Marking page
/results: Results page

Connect Airtable to code

Will need a config.env file with API key from Airtable account settings.

Queries:

  • Get list of submissions (for the Mark dropdown list)
  • Get all of a submissions answers (for the Mark page)

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.