Code Monkey home page Code Monkey logo

quizzler's Introduction

Quizzler - Quiz app

Quizzler is a simple and fun quiz game that challenges you with different categories and lets you compete for the leaderboard for all the correct answers! Built with Nuxt 3 and its ecosystem.

App & Preview

Play : Quizzler

Library, Frameworks & Tools Used

Setup & Build

if you want to continue or modify this project, you can follow these steps:

  • Clone this project
git clone https://github.com/jo0707/quizzler
  • Install dependencies (bun)
bun install

This project uses Supabase as its leaderboard database:

  • Create a Supabase account
  • Create a new project
  • Create a leaderboard table, you can use this SQL query:
create table
  public.leaderboard (
    id bigint generated by default as identity,
    created_at timestamp with time zone not null default now(),
    name character varying null,
    score integer not null default 0,
    time integer not null default 0,
    mode character varying not null default ''::character varying,
    constraint leaderboard_pkey primary key (id)
  ) tablespace pg_default;
  • Go to the leaderboard table, You can either disable the RLS, or create a new RLS that allows public to do INSERT and SELECT query.

  • Copy your project URL and public key from the project settings tab

  • Create new .env file and fill it with your Supabase credentials

SUPABASE_URL=https://yourproject.supabase.co"
SUPABASE_KEY="your.anon.token"
  • Run the project
bun dev
  • Build the project
bun run build
#or
bun run generate # static hosting

Contributing

Made by jo0707

Feel free to contribute to this repository!

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.