Giter Club home page Giter Club logo

react-supabase-app's Introduction

Table Tennis - Coding Challenge

Test the ability to develop a full-stack application with intuitive user interface and relational database management using React and Supabase.

Background

Your friends are table tennis addicts. Unfortunately, they are also extremely bad at keeping score, which results in endless disputes about who is the table tennis champion. To resolve the situation once and for all, you decide to write a simple program that keeps track of the score during the game, stores the final result after the game ends, and displays some statistics.

User stories

US#1: As a user, I want to start a new game between two players so that I can keep track of the score as the game is being played.

US#2: As a user, I want to create a game that has already been played so that I can enter the result of that game.

US#3: As a user, I want to be able to create player profiles so that I can reuse them when I create new games.

US#4: As a user, I want to see a dashboard with individual player statistics so that I can see who is the ultimate champion.

Example Interface

New Game Screen:

  • Select Player 1
  • Select Player 2
  • Start Game (with score tracking interface)

Existing Game Entry Screen:

  • Select Player 1
  • Select Player 2
  • Enter Final Scores
  • Save Game

Player Management Screen:

  • Create New Player
  • List of Existing Players (with edit options)

Statistics Dashboard:

  • List of Players with their statistics
  • Highlight the current champion

Additional requirerments

  • Use TypeScript to enforce type safety in the React components and API interactions.
  • Ensure efficient data fetching and error handling.
  • Implement form validation on the front-end.
  • Create a consistent design using a CSS framework of your choice.
  • Include unit tests for key components and functionalities.

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.