Coder Social home page Coder Social logo

palette-picker's Introduction

Palette Picker

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.

See it Live

https://j-erickson-palette-picker.herokuapp.com/

Technologies Used

  • JavaScript/HTML/CSS
  • Knex
  • PostgreSQL
  • Express
  • Node
  • Mocha
  • Chai
  • Travis CI
  • Heroku

Setup

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/

  1. Clone down repo
  2. Change to root directory

cd palette-picker

  1. Install dependencies

npm install

  1. Create local databases
psql
CREATE DATABASE palettepicker;
CREATE DATABASE palettepicker_testing;
\q
  1. Run migrations

knex migrate:latest

  1. Seed the database

knex seed:run

  1. Start the server

npm start

  1. Visit localhost:3000 in your browser

Heroku Deployment Steps

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.

  1. Clone repo

git clone https://github.com/Jessica-Erickson/palette-picker

  1. Change directory to repo

cd palette-picker

  1. Create heroku app

heroku create

  1. Provision a database

heroku addons:create heroku-postgresql:hobby-dev

  1. Deploy the app

git push heroku master

  1. Run the knex migration

heroku run knex migrate:latest

  1. Seed the database (optional)

heroku run knex seed:run

  1. Open in heroku

heroku open

Test Driven Development

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

Next Steps

  • 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

Initial Planning

Wireframe

Desktop Version

Desktop Version

Original Assignment

Palette Picker from the Turing School of Software & Design

Contributors

Jessica Erickson: GitHub, LinkedIn, Twitter

palette-picker's People

Contributors

soleraops avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.