• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Superformula/frontend-test: Test for Front End candidates

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Superformula/frontend-test

开源软件地址:

https://github.com/Superformula/frontend-test

开源编程语言:


开源软件介绍:

Superformula Front-end Developer Coding Test

Be sure to read all of this document carefully, and follow the guidelines within.

Context

Use React w/ TypeScript to implement the following mock-up. You will need to leverage an open API for restaurant data to fill in the details and functionality as described below. You are only required to complete the desktop views, unless otherwise instructed.

Superformula-front-end-test-mockup

Use this Figma file to see button states, colors, and responsive design. You should be sure to complete the test to mimic the design as seen.

Source Figma file

Requirements

Yelp API

You can ask us and we will provide you a Yelp API Key to use for your PR.

NOTE: Yelp's API does not allow CORS. To get around this, you will need to setup a local proxy with CORS support and proxy your requets to Yelp's endpoints.

Page Structure

Main
  - Filter navigation
    - Open now (client side filter)
    - Price (client side filter)
    - Categories/Cuisines (server side search filter)
  - Section
    - Restaurant item
      - Image (use first item in `photos`)
      - Cuisine / Categories (use first item in `categories`)
      - Rating
      - Price range
      - Open / Closed
      - Restaurant name
      - Learn more (navigate to Detail View)
Detail View
  - Restaurant Name & Rating
  - Map (optional, if time allows)
  - Section
    - Review item
      - Image
      - Name
      - Rating
      - Text

Functionality

  • The filter navigation needs to be able to perform real time filtering on both client side data, as well as server side queries.
  • Yelp's /businesses/search endpoint requires a location, please use Las Vegas
  • Categories can be pre-filled from the Categories endpoint
  • The items should always show 4-6 items per row depending on viewport size. Use your own judgement for when to change per breakpoints.
  • Please see the Yelp documentation for more details.

Tech stack

  • TypeScript oriented (JavaScipt can be used, but we strongly prefer TypeScript)
    • Use React
    • Do not use any React boilerplate, such as Create React App
  • Feel free to use a preprocessor, CSS-in-JS, or JSS tool but do not use any pre-styled frameworks or libraries
    • The general rule of thumb is: you should write your own styling for your components, do not use "pre-made" tools and utilities
    • There are a few reasons we do this:
      • we care about pixel perfect implementation
      • we want to see your understanding of CSS and styling practices
    • USE:
      • Styled-Components
      • Emotion
      • SCSS
      • SASS
      • LESS
      • CSS
    • AVOID:
      • Tailwind
      • Bootstrap
      • Material UI
      • Semantic UI

Bonus

  • Make the application accessible
  • Also create mobile version included in Figma comp
  • Write clear documentation on how the app was designed and how to run the code
  • Implement useful testing
  • Provide components in Storybook (we use Storybook, buy any component display tool of your choice if fine!)
  • Use Yelp's Graph QL endpoint
  • Write concise and clear commit messages
  • Provide an online demo of the application
  • Include subtle animations to focus attention
  • Describe improvement opportunities when you conclude

What We Care About

Use any libraries that you would normally use if this were a real production App. Be prepared to justify those choices. Please note: we care more about how you approach the problem than the end result. Code cleanliness and design are more important than using the "right" library.

Here's what you should strive for:

  • Good use of current TypeScript, HTML, CSS, and performance best practices
  • Solid testing approach
  • Extensible code
  • Mobile support and accessibility
  • Thorough explanation of decisions and tradeoffs

Q&A

Where should I send back the result when I'm done?

Fork this repo and send us a pull request when you think you are done. There is no deadline for this task unless otherwise noted to you directly.

What if I have a question?

Just create a new issue in this repo and we will respond and get back to you quickly.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
home-assistant/frontend: Frontend for Home Assistant发布时间:2022-06-08
下一篇:
wobsoriano/2019-ncov-frontend: 发布时间:2022-06-07
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap