/kickoff-color-picker-2023-08-08

Scaffold for Kickoff take-home assessment

Primary LanguageJavaScript

Instructions

Exercise

Phase 1 -- Picker

Build a simple web-based color picker. The picker should:

  1. Take input for RGB values
  2. Display the current color

Phase 2 -- Palettes

Build a form to create a palette of 5 colors.

Phase 3 -- Persistence

Persist palettes to the database.

  1. Add the ability to save multiple palettes.
  2. Don't worry about palette owners. They're global.
  3. Display all the persisted palettes in the UI.
  4. Enable deleting of palettes.
  5. Enable editing of palettes.

Details

Feel free to look up syntax while working. Just don't copy any code verbatim. Come up with your own UI.

This codebase contains a Next.js React app. The scaffold is in place to allow you to focus on the exercise instead of the setup. However, if you're more comfortable with your own tools, feel free to replace any or all of it.

This is designed to take between 2-4 hours.

There's a lot to do. Don't sweat the details. If you do finish early, take your pick of refactoring, styling, or adding features.

Setup

In this codebase, you'll find:

To start the app

To add a database migration

  • yarn create-migration -- {{migration_name}}
  • yarn run-migrations
  • note: you can drop the database and start over by deleting database.sqlite