Skip to content

reelcrafter/coding-test

Repository files navigation

ReelCrafter Coding Test

This is a simple test of some basic Vue 3 stuff. It shouldn't take more than 1-2 hours.

Recommended IDE Setup

VSCode + Volar.

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Project Setup

  1. Don't clone this repo!
  2. Instead, look for the green "Use this template" button in the upper right.
  3. Click that, then choose "Create a new repository" from the dropdown menu.
  4. Create a public repo and clone it.

Then:

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Instructions

This is a simple app that queries the USGS Earthquake API and lists recent earthquakes. Your job is fairly simple: implement a way to filter the list by min/max magnitude.

Explore the code (starting at main.ts which is always the entry point of any Vue app) and go from there. Make sure the tests for QuakeFilter.vue pass, and—of course—don't modify the test file!

Please log your time spent on this and let us know about how long it took you. Feel free to also keep notes about anything that tripped you up, and we can discuss.

A Note About Using AI

Please don't use AI! With Vue 3 + TypeScript, it will probably do the wrong thing and you shouldn't trust it. This is a test, after all, and using AI would prevent us from getting a solid understanding of your abilities.

Turning It In

When you're done, commit your work and send us a link to your repo (make sure it's public).

Thanks, and have fun! 😁

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published