Coder Social home page Coder Social logo

jostein-skaar / authenticlash Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shtian/authenticlash

0.0 0.0 0.0 709 KB

2FA code combat

Home Page: https://authenticlash.vercel.app

JavaScript 2.91% TypeScript 34.83% CSS 1.14% HTML 0.67% Svelte 52.84% PLpgSQL 7.60%

authenticlash's Introduction

AuthentiClash

Welcome to AuthentiClash, a game hosted at authenticlash.app. AuthentiClash is built on SvelteKit.

Overview

Players can log in, create a game with a specified end date, and invite friends to join. The game revolves around entering 2FA (Two-Factor Authentication) codes (1-99, microsoft authenticator, github authenticator etc.), with players competing to accumulate the highest score by the game's end date.

Features

  • User Authentication: Login to manage your games and participate in others.
  • Game Creation: Easily create a game by specifying an end date, a unique game URL is generated.
  • Invite Friends: Share your game URL with friends to join the competition.
  • 2FA Code Entry: Enter your 2FA codes to earn points within the game.
  • Leaderboard: View rankings to see how you stack up against the competition.

Development

To get started, you need to run supabase locally. Install the Supabase CLI and run supabase start. Might take some time as it pulls a lot of docker images to run. When it's finished you will get a list of handy URLs and tokens. These can be found later with supabase status if you need them again after startup. Create a .env file in the root of the project with the following content:

PUBLIC_SUPABASE_URL={API URL from "supabase status"}
PUBLIC_SUPABASE_ANON_KEY={anon key from "supabase status"}
PUBLIC_ENV=local

Now you can run the migrations to get the schema in place locally. Run the following command:

supabase migration up

Then run the following commands to start the application:

pnpm install
pnpm dev
open http://localhost:5173

Troubleshooting

If you run into issues with foreign key constraints on profile_id, you can try going to the profile page of a logged in user and hitting save first, then try creating a game again.

authenticlash's People

Contributors

shtian avatar github-actions[bot] avatar jostein-skaar avatar dependabot[bot] 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.