Thank you for applying to Hivelocity. This repo contains the basics for you code challenge. To do this challenge please:
- fork this repository.
- code up the design in the challenge section below
- open a PR back to the original branch
- send an email to the hiring manager that you have completed the challenge.
Please set aside ~1 hour to complete the challenge.
In the project directory, run:
npm install
npm start
The second command runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You should get a blank page with the words Hello from Hivelocity in the upper left corner.
If you are having trouble setting up the project, please email your hiring manager
The challenge is to request a list of devices from our API endpoint https://core.hivelocity.net/api/v2/device/ then render each individual device's data into components that look like this:
To see example data interactive api docs are located here.
You should have received an API Key in the code challenge email that linked to this project. That api-key is to be used to authenticate requests. Requests need to be made with the header X-API-KEY
set to the api key in your email. If needed, more info on authentication is located in the docs.
At Hivelocity we use styled-components for styling and swagger-client for requests to the v2 API. They are already installed in this project.
That said, do not feel obligated to use them, you are free to use whatever means of making requests and css styling you want. Feel free to install npm packages as necessary.
We respect your time, and want to ensure that the code challenge takes as little of it as possible. If you run into issues getting the project working, or with communication to the API, please email your hiring manager. It is better to let us solve the issue than for you to use your personal time.