Skip to content

This Single Page Application allows users to manage a collection of cats 🐈, operate their engines ❀️, and view race statistics πŸ“Š.

Notifications You must be signed in to change notification settings

seygorin/epam-test-task

Repository files navigation

🐈 Test Task: EPAM-async-race

πŸ† Score: 400/400

🌐 Deployed UI Link

πŸŽ₯ Demo Video

Demo video

πŸ–₯️ Server Setup

To interact with the API, you need to set up the server:

  1. πŸ“‚ Clone the repository: server repository link
  2. πŸ“¦ Install dependencies: npm install
  3. πŸš€ Run the server: npm start

The server provides a mock API for managing the car collection, controlling engines, and handling race statistics.

πŸ“ Project Description

This Single Page Application allows users to manage a collection of cats 🐈, operate their engines ❀️, and view race statistics πŸ“Š. It simulates a racing competition to determine the fastest cat.

The application features:

  • πŸˆβ€β¬› Cat management (create, update, delete)
  • πŸ’™ Heart control (start, stop)
  • 🏁 Racing simulations
  • πŸ† Winners statistics

Goal - is to create an intuitive and efficient interface for cat management and racing, along with smooth API handling. Aim to deliver a performance application that provides an exhilarating racing experience while ensuring seamless interaction with the backend services.

πŸ“‹ Checklist 400/400 pts

πŸš€ UI Deployment

  • Deployment Platform: Successfully deploy the UI on one of the following platforms: GitHub Pages, Netlify, Vercel, Cloudflare Pages, or a similar service.

βœ… Requirements to Commits and Repository

  • Commit guidelines compliance: All commits follow the specified commit guidelines.
  • Checklist included in README.md: Project checklist included in README.md with implemented features marked.
  • Score calculation: Score calculated and placed at the top of README.md.
  • UI Deployment link in README.md: Link to deployed UI placed at the top of README.md.

πŸ—οΈ Basic Structure (80 points)

  • Two Views (10 points): Implement two primary views: "Garage" and "Winners".
  • Garage View Content (30 points): The "Garage" view displays required content.
  • Winners View Content (10 points): The "Winners" view displays required content.
  • Persistent State (30 points): View state remains consistent when navigating between views.

🏠 Garage View (90 points)

  • Car Creation And Editing Panel. CRUD Operations (20 points): Users can create, update, and delete cars.
  • Color Selection (10 points): Color selection from an RGB palette implemented.
  • Random Car Creation (20 points): Button to create random cars implemented.
  • Car Management Buttons (10 points): Buttons for updating and deleting cars provided.
  • Pagination (10 points): Pagination for the "Garage" view implemented.
  • EXTRA POINTS (20 points):
    • Empty Garage Empty garage handled with user-friendly message.
    • Empty Garage Page Last car removal moves user to previous page.

πŸ† Winners View (50 points)

  • Display Winners (15 points): Winners displayed in the "Winners view" table.
  • Pagination for Winners (10 points): Pagination for the "Winners" view implemented.
  • Winners Table (15 points): Winners table includes required columns and functionality.
  • Sorting Functionality (10 points): Table sorting by wins and best time implemented.

πŸš— Race (170 points)

  • Start Engine Animation (20 points): Start engine animation implemented correctly.
  • Stop Engine Animation (20 points): Stop engine animation implemented correctly.
  • Responsive Animation (30 points): Car animations are fluid and responsive on small screens.
  • Start Race Button (10 points): Start race button functionality implemented.
  • Reset Race Button (15 points): Reset race button functionality implemented.
  • Winner Announcement (5 points): Winner announcement message implemented.
  • Button States (20 points): Correct button states implemented during races.
  • Actions during the race (50 points): Control over actions during a running race implemented.

🎨 Prettier and ESLint Configuration (10 points)

  • Prettier Setup (5 points): Prettier correctly set up with required scripts.
  • ESLint Configuration (5 points): ESLint configured with Airbnb style guide and required script.

🌟 P.S.

Thank you for taking the time to review this project. As you can see, a lot of effort and dedication went into creating this racing management system. It's a testament to the fact that with persistence and hard work can achieve nice results.

However, it's important to note that the code still has room for improvement, and Interacting with the server isn't the most optimal. There are a few subtle bugs related to timing and parallel server requests, plus the time calculation isn't entirely accurate. These challenges remind us that development is an ongoing process of refinement and optimization. But there is not always enough time.

About

This Single Page Application allows users to manage a collection of cats 🐈, operate their engines ❀️, and view race statistics πŸ“Š.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published