Skip to content

henriquezago/color-picker

Repository files navigation

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 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.

Please take 2 hours to complete the exercise. If you choose to setup the app yourself instead of using the scaffold, take an extra 30min to get everything in place.

There's a lot to do. Don't sweat the details. Just focus on getting through as much as you can. Finishing everything isn't a requirement for success in the exercise. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published