Coder Social home page Coder Social logo

react-barbooks-gamestore's Introduction

React Barbooks Gamestore

npm install
npm run dev

a. What kind libraries your project is using?

  • React
  • Vite
  • SCSS
  • Redux RTK

b. What could you do better in your code next iteration?

  • If i had enough time I can do the ff.
    • Error Handling - as of now my implementation is more on happy path just to make sure that the use can visit the page and navigate thru the application
    • Testing - Could've add some test using Jest for unit testing and Playwright for e2e testing
    • Performance - With the provided deadline and limited time to work on the code. some implementation can be improve and one of them is performance, I'd like to add lazy loading and not show all games combined with infinite scrolling
    • Responsiveness - as of the moment my code is not responsive in mobile and tablet

c. Any other notes you feel relevant for the evaluation of your solution.

I took a principled approach in adhering to the Single Responsibility Principle (SRP) throughout the development of pages and components. Each module focuses on a specific functionality, promoting maintainability and ease of future enhancements. Embracing the BEM (Block, Element, Modifier) methodology for styling, I meticulously scoped out elements and modifiers to ensure a consistent and scalable CSS structure.

In alignment with the project guidelines, I refrained from incorporating any third-party libraries beyond those explicitly mentioned in the assessment. This decision was made to demonstrate a proficiency in leveraging core technologies while avoiding unnecessary dependencies.

Regarding API integration, I encountered challenges with the proxy implementation, especially when dealing with query parameters in the latest React and Vite setup. While the proxy works seamlessly for plain endpoints like "/games," I encountered 500 internal errors when additional query parameters were introduced. Despite these challenges, I successfully employed the proxy on endpoints experiencing CORS errors, ensuring a smooth integration with the API.

react-barbooks-gamestore's People

Contributors

riyenz 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.