Skip to content

Latest commit

 

History

History
72 lines (42 loc) · 2.03 KB

README.md

File metadata and controls

72 lines (42 loc) · 2.03 KB

Palette Picker

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.

palette picker screenshot

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