Git Product home page Git Product logo

drivewealth-botd's Introduction

Bob's Burger of the Day (BOTD)

For this assessment you will be building a simple app that will help Bob collect new Burger of the Day ideas. Then he and anyone with access to the site will be able to vote on the BOTD ideas with either a simple upvote or downvote. We don't care how many times they vote.

When Bob & team likes a BOTD idea, double clicking the BOTD card should update the record in the API as approved and change the display text to green.

Requirements

We will be looking at how you structure your app, your React knowledge, your CSS and UI/UX, and to get a feeling for your overall JavaScript skill. We also have a couple of small features we'd like to see implemented:

  • Sorting BOTDs by creation date (default), name, votes, and approved status
  • New burgers should go to the top of the list and reset the sort to Created
  • Paging, no more than four BOTDs per page
  • Sorting should be taken into consideration when paging and searching
  • Please persist (POST or PATCH) changes to the API described below

This app was bootstrapped with create-react-app, and using React is required. Feel free to use any additional libraries you'd like.

You can find a wireframe for the app in the wireframes/ directory. Feel free to use the wireframe to layout your app. If you are feeling creative, you could also come up with your own layout!

Bonus Points For:

  • React Hooks
  • Styled Components
  • Unit Tests

Getting Started

Starting the BOTD App is easy:

npm install
npm start

Starting the App will kick off two processes: the React App and a simple API. The API is powered by json-server. You can refer to json-server's documentation for updating, deleting and creating records. The API is intentionally sluggish, so be sure to take that into account when working on your project.

Make sure that your app persists new burgers and votes to the API.

The webserver can be found at:

The API endpoint can be found at:

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.