8000 GitHub - ajax484/liveheats-coding-challenge
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ajax484/liveheats-coding-challenge

Repository files navigation

Liveheats Coding Challenge

A responsive web application built with Next.js, React Hook Form, and Zod for managing and updating race results. This app allows teachers to adjust the positions of race participants, validate sequences, and update final results with a clean and intuitive UI.

Features

Participant Management:

  • Dynamically adjust participant rankings.
  • Automatically shift other participants' positions based on adjustments.

Validation:

  • Ensures sequential ranking with tie support.
  • Displays errors for invalid sequences.

Responsive UI:

  • User-friendly design for desktop and mobile devices.
  • Dropdown-based ranking selection.

State Management:

  • Efficiently manages races using a global store.

Tech Stack

  • Frontend: Next.js
  • Form Handling: React Hook Form
  • Validation: Zod
  • Styling: Tailwind CSS
  • State Management: Custom useRaceStore Hook

Screenshots

Home Page screenbud-8ad47300-5838-41ec-a9d8-fe75c9a35bdb

Create Race Page screenbud-12c636c0-3f62-4bfb-8918-c26440c87ce7

Update Final Results Page screenbud-33069bdc-eb73-46a9-b3c9-b38588e6451b

Race Details Page screenbud-5947543b-1d0c-46f6-8ae5-98f291335796

Installation & Setup

  1. Clone the repository:
git clone https://github.com/ajax484/liveheats-coding-challenge.git
cd liveheats-coding-challenge
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Open in your browser: Visit http://localhost:3000 to view the app.

License 📜

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact ☎️

Feel free to reach out for feedback or questions:

Releases

No releases published

Packages

No packages published
0