Code Monkey home page Code Monkey logo

bees-challenge's Introduction

BEES CHALLENGE

This is a test for a Front-End developer position at Bees Brasil.

Run the project

  1. git clone https://github.com/JohnOliver23/BEES-CHALLENGE.git
  2. cd BEES-CHALLENGE/
  3. yarn install
  4. yarn start

Backend

  • for the backend, a CMS was made in prismic that returns a list of beers on the route / beers Cms

Pages

Home:

  • The home page consists of a list of beers
  • In desktop resolution the list is composed by 4 tiles
  • In tablet resolution the list is composed by 2 tiles
  • In mobile resolution the list is composed by a single tile

Desktop

Desktop

Tablet

Tablet

Mobile

Mobile

Actions

  • The user should be able to re-order the tiles by Lowest Price, Biggest Price and Product Name
  • The user can drag to move the tiles

Tests

Run the tests

  1. yarn test : to run the tests
  2. yarn test:coverage : to generate the test report
  3. cd coverage/lcov-report/index.html : to see the test report

Tests

Technologies:

  • Typescript
  • HTML
  • CSS

Framework

React FC with hooks

  • useState and useReducer for state control
  • useEffect for lifecicle control

Libraries

  • Styled components
  • Prismic
  • React Router DOM
  • React icons
  • React-sortable-hoc

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.