Skip to content

nicktu12/palette-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palette Picker

CircleCI

Palette Picker is a single page application that allows a user to save randomly generated color palettes to a backend built with Node.js and Express. The front end application was built using jQuery. Users are able to create new projects and palettes, as well as delete palettes from the database.

pp

Palette Picker on Heroku

Getting Started

Palette Picker was created using jQuery, Node.js and Express. To install Palette Picker locally, clone down this repository, install dependencies with npm install in the command line, and use node or nodemon to start the server.js file, which serves a static HTML page containing the application.

node server.js

Prerequisites

Find out more about installing node.js

The following development dependencies are needed in your package.json in order to run the test suite.

  "devDependencies": {
    "chai": "^4.1.2",
    "chai-http": "git+https://github.com/chaijs/chai-http.git#3ea4524",
    "mocha": "^4.0.1"
  }

Installing

Install node (see link above)

Start the server using the following bash command.

node server.js

Running the tests

The following script can be used to run the test suite

npm run test

The test suite ensures that the app serves a static html page and handles error for incorrect url routing. All endpoints defined on the server are tested before continuously integrating with CircleCI.

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

A color palette generator built with jQuery and Express.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published