https://github.com/cdima/colourlovers
ColourLovers.com HTTPS API Proxy built on Node.js & heroku
https://github.com/cdima/colourlovers
Last synced: 4 months ago
JSON representation
ColourLovers.com HTTPS API Proxy built on Node.js & heroku
- Host: GitHub
- URL: https://github.com/cdima/colourlovers
- Owner: cDima
- Created: 2014-11-23T19:47:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-10T15:02:15.000Z (almost 11 years ago)
- Last Synced: 2025-11-22T05:02:56.374Z (7 months ago)
- Language: HTML
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ColourLovers.com API Proxy built on Node.JS and Deployed on heroku
Unfortunatelly colourlovers does not provide secured https access to their api;
This proxy, if deployed on a https server, would forward any request to /api to http://colourlovers.com/api. It is deployed on a single dyno [heroku](https://colorlovers.herokuapp.com);
For example:
https://colorlovers.herokuapp.com/api/palettes/top
would forward responses from
http://colorlovers.com/api/palettes/top
## Running Locally
Make sure you have [Node.js](http://nodejs.org/) and the [Heroku Toolbelt](https://toolbelt.heroku.com/) installed.
```sh
$ git clone git@github.com:cdima/colourlovers.git
$ cd node-js-getting-started
$ npm install
$ npm start
```
Your app should now be running on [localhost:5000](http://localhost:5000/).
## Deploying to Heroku
```
$ heroku create
$ git push heroku master
$ heroku open
```
## Documentation
For more information about using Node.js on Heroku, see these Dev Center articles:
- [Getting Started with Node.js on Heroku](https://devcenter.heroku.com/articles/getting-started-with-nodejs)
- [Heroku Node.js Support](https://devcenter.heroku.com/articles/nodejs-support)
- [Node.js on Heroku](https://devcenter.heroku.com/categories/nodejs)
- [Best Practices for Node.js Development](https://devcenter.heroku.com/articles/node-best-practices)
- [Using WebSockets on Heroku with Node.js](https://devcenter.heroku.com/articles/node-websockets)
# Author
Dmitry Sadakov