Code Monkey home page Code Monkey logo

cubeia-code-challenge's Introduction

Cubeia Code Challenge

Screenshots

image

Tech Stack

Frontend

  • HTML5
  • React
  • Typescript
  • Sass
  • Tailwind

Build Tools

  • Vite

Relevant Dependencies

  • uuid
  • vitest
  • axios
  • jsdom
  • testing-library
  • postcss

Formatting

This projects uses code standards by applying the eslint and prettier tools:

  • Eslint: identifies bugs and patterns to make the code more consistent.
  • Prettier: code formatter for making the code more readable and consistent.

How to use

  • Step 1: Clone and download repo.
  • Step 2: Install node_modules using npm i.
  • Step 3: Create and use API Url, there is an example.env file in root.
  • Step 4: Run script for vite (npm run dev) to launch the application.

Status

This project is marked as "Finished"

Challenge Description

This is a code challenge to build a casino lobby on a limited amount of time. The focus is mainly on logic and experience with React and a litle bit of UX. Orders is to fetch API and be able to filter games by studios, categories and currencies. These are connected to each other in the json data.

Features

  • Categories: User can filter by category.
  • Currency Modal: Users can filter by a bunch of currencies.
  • Studio Modal: User can pick one or several studios.
  • Load More: Buttons for user to interact and load more or hide casino games.

Performance

  • Chose to use load more functionality to improve performance and UX, 50 games per click.
  • Used React.lazy on a bigger modal for studios.
  • Used useMemo when filtering games to memoize it due to large data sample.
  • Checked if the library react-window did any improvements on performance, but could not see it so i decided not to use it.

Future Improvments (out of scope)

  • Improve UI
  • Accessibility
  • SEO
  • Further Performance improvment
  • Animation Libraries
  • Some images urls are not working
  • Further Testing of components
  • Better responsiveness
  • ImageKit for better performance

Author

cubeia-code-challenge's People

Contributors

ralfislask avatar

Watchers

 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.