Code Monkey home page Code Monkey logo

frontend-coding-challenge-answer's Introduction

Outdoorsy Frontend Coding Challenge

Thanks for applying for a frontend role at Outdoorsy. We've put together this code challenge, which should take around 4 hours to complete.

Functionality

The task is to develop a web app using Outdoorsy rentals API. Users should be taken to a list of campervans then be able to navigate to a campervan detail page. Users should be able to type keywords into a text field to filter the API results to find relevant campervans. Finish by pushing your code to Github and deploying your code to Heroku or another hosting environment.

Frontend

At Outdoorsy, we primarily use two frontend technologies Next.js and Ember.js. We have created a starter project for both technologies. Choose either a starter project or if you would like to use another technology, please feel free.

Visual design

We have provided a design wireframe for the list view and the detail view. Please focus on making your work as close to the design as possible.

Endpoint documentation

GET Rental List

URL: GET https://search.outdoorsy.co/rentals?filter[type]=camper-van&address=san%20francisco

Query parameters: Required: filters[keywords] - a space-separated string of search terms Optional: page[limit] - an integer that sets requested maximum result count Optional: page[offset] - an integer that sets the index of the first result (Example: a "third page" of 8 results would have a limit of 8, offset of 16)

Note If you don't get any camper vans in you results add &address=san%20francisco to the url.

GET Single Rental

URL GET https://search.outdoorsy.co/rentals/<RENTAL_ID>

Response: The data object is an array of rental results. Find name of rental at data[].attributes.name Find primary image URL of rental by getting the ID from data[].relationships.primary_image.data.id and finding the matching id with type: images from the included array. The image URL is at included[].attributes.url.

Notes

  • Write production ready code.
  • Please make frequent, and descriptive git commits.
  • Use third-party libraries or not; your choice.
  • The project should look good on a mobile device as well as a desktop.
  • Please add some tests.
  • Feel free to add functionality as you have time, but the feature described above is the priority.

What we're looking for

  • The functionality of the project matches the description above
  • Visual design mostly matches designs (you're not required to be pixel perfect since the specs are rough)
  • An ability to think through all potential states
  • Code design and style should be consistent and reasonable

Thank you, and please reach out if you have any questions!

Campervan list mockup

files/visual-designs/list-view.jpg

Campervan detail mockup

files/visual-designs/detail-view.jpg

frontend-coding-challenge-answer's People

Contributors

erickmx avatar

Watchers

James Cloos avatar  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.