Git Product home page Git Product logo

oompa-loompas's Introduction

Oompa Loompas Web App

A web application to manage the Oompa Loompa's crew of Willy Wonka's chocolate factory.

The application consists of 2 views (list of workers and a detailed page of selected worker).

The list of workers has infinite scroll and a search input to filter workers by first and last name and the profession.

The list is cached for 24 hours with RTK query.

The character view displays the image, name, and description text (which might include html)

Tools and environment

The project was created in CRA in plain JavaScript and CSS in Visual Studio Code and folders for components, pages (views), services to configure API with @reduxjs/toolkit. The routes are configured with React Router.

For the code formatter I configured a Prettier plugin in VScode.

Run the project

To run the project in the development mode, run [npm install] and [npm start] in the terminal within the project folder.

To build the app for production to the build folder., run [npm run build]

Styling

I used CSS to style the page. For the naming, I follow BEM (Blocks, Elements and Modifiers) methodology. I also added the styles for the mobile view. The styling follows the figma design but some minor details are missing.

I also use rem units for fonts and media queries to improve the accessibility.

Testing

  • Cross-browser testing

Tested in the Chrome browser and for the responsive view.

  • Unit testing

I have not implemented the tests but the tests should be added to the components in order to improve the code quality, to ease maintenance of the codebase, and for the faster development. I would use React Testing Library in this app.

oompa-loompas's People

Contributors

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