An open API service indexing awesome lists of open source software.

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

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