Palette Picker is a module 4 individual assignment at the Turing School of Software and Design. My goal was to make a useful palette creation tool for frontend developers where the interactions of all colors in the palette are more apparent than most online palette generation tools.
https://j-erickson-palette-picker.herokuapp.com/
- JavaScript/HTML/CSS
- Knex
- PostgreSQL
- Express
- Node
- Mocha
- Chai
- Travis CI
- Heroku
This setup assumes that you have PostgreSQL installed locally. Find your operating system on this page, then follow the instructions to download PostgreSQL to your machine: https://www.postgresql.org/download/
- Clone down repo
- Change to root directory
cd palette-picker
- Install dependencies
npm install
- Create local databases
psql
CREATE DATABASE palettepicker;
CREATE DATABASE palettepicker_testing;
\q
- Run migrations
knex migrate:latest
- Seed the database
knex seed:run
- Start the server
npm start
- Visit
localhost:3000
in your browser
This deployment relies on you having a Heroku account and the associated CLI tools. To make a Heroku account, fill out and submit the form here: https://signup.heroku.com/. To download the CLI tools, follow the instructions on this page: https://devcenter.heroku.com/articles/getting-started-with-nodejs#set-up.
- Clone repo
git clone https://github.com/Jessica-Erickson/palette-picker
- Change directory to repo
cd palette-picker
- Create heroku app
heroku create
- Provision a database
heroku addons:create heroku-postgresql:hobby-dev
- Deploy the app
git push heroku master
- Run the knex migration
heroku run knex migrate:latest
- Seed the database (optional)
heroku run knex seed:run
- Open in heroku
heroku open
Palette Picker uses Mocha and Chai for API testing
Run command npm test
from the root directory after following all steps from the setup section
- Make Palette Picker responsive for use on tablets and phones.
- Add some fun animations.
- Add user auth, so that palettes/projects can be saved to, and deleted from, specific users
Palette Picker from the Turing School of Software & Design