Skip to content

mattlaux/frontend-dev-challenge

 
 

Repository files navigation

Frontend Dev Challenge

FORK this repo into your own account and email the link to your project when finished.


Thanks for applying to be a Frontend Developer at Beacon! Instead of asking you to solve a leetcode problem - we'd like to see you complete a task that is actually something you'd do on the job.

This project will consist of taking a page design that's included below and recreate it as a page in a NextJS project.


There are three required features:

  1. Fetch a list of schools from the Beacon API and then display it in a list like the one shown in the design.
  2. Request permission to access the browser's location. If granted, sort the list of schools from closest -> furthest. If denied, sort the list in alphabetical order (by school name).
  3. Include a search bar to allow the user to search by school name.

Important Details

  • The design can be viewed here
    • Take note of the comments on the page as they clarify some of the details.
    • For the background gradient, you can do one from the top left -> bottom right (colors: #4502D9 to #000000)
    • If you have trouble with Figma please email me!
  • Install the packages with npm install and run the project with npm run dev
  • You are free to install any additional packages you see fit.
  • Please comment your code to make it easier to review.
  • Request the list of schools by performing a GET request to api.sendbeacon.com/team/schools.
  • You must run the project on host 3000 or else your browser will get blocked by CORS (this is the default, just don't change it).
  • Your work should be done in src/pages/index.tsx and all styles should be added to src/styles/Home.module.css.
  • Bootstrap v5 has been included and you're free to use it.
  • Your project must be responsive (work on both mobile and desktop).
  • The Beacon logo and the search bar icon are already included in the src/assets/ directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 72.2%
  • CSS 26.9%
  • JavaScript 0.9%