dawanda/node-imageable-server

Name: node-imageable-server

Owner: DaWanda Engineering Team

Description: On-demand image manipulation server in node.js

Created: 2012-09-20 13:07:36.0

Updated: 2017-09-15 21:00:32.0

Pushed: 2016-09-23 08:45:56.0

Homepage:

Size: 170

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Description

This app is a demonstrator for the node-imageable middleware.

Get it run

First of all, create a config/config.json. You might just want to copy the config/config.example.json. Afterwards run npm install. Finally start the server via node app.js.

And … what's next?

Open your favorite browser and run:

http://localhost:3000/resize/magic?url=http://www.google.com/intl/en_ALL/images/logo.gif&size=200x200

For further information take a look at the node-imageable documentation: https://github.com/sdepold/node-imageable

Gimme code, dude!

git clone git://github.com/dawanda/node-imageable-server.git
cd node-imageable-server
cp config/config.example.json config/config.json
npm install .
node app.js

# you can also do sudo PORT=80 NODE_ENV=production node app.js

Fallback solution

If you need a fallback solution for (whyever) failing resizer apps, you can checkout the fallback branch. This app just redirects all requests to the url param.

Authors/Contributors


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.