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 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
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"
}
Install node (see link above)
Start the server using the following bash command.
node server.js
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.
- Nick Teets Github
This project is licensed under the MIT License - see the LICENSE.md file for details