Skip to main content

Posts

Showing posts with the label nodejs

Node.js Module for Adobe Behance Portfolio development API's- node-behance-api

Node.js module for Adobe Behance Portfolio development API's Behace is an online portfolios website. Here an user can create and watch his portfolios. node-behance-api is an utility wrapper for Adobe Behance rest services for node.js. This utility is developed for node.js only. Currently it supports all of the API's of Adobe Behance. You can update and add other api by simple coding. Before starting development on node. You have to register your app on https://www.behance.net/dev/register . Register your app and get the client id from there. *This utility wrapper uses request module. Installation $ npm install node-behance-api Requirement request - npm https://www.npmjs.org/package/request examples: var Behance = require ( "node-behance-api" ); var behance = new Behance({ "client_id" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx" }) Behance.initOptions(); behance.get(Behance.APIS.GET_USER, {    user: 'deepakmshrma' }, f...

Simple Example of Nodejs- My First Nodejs Programm

In this section, our plan is to lead you into the world of Nodejs programming by taking you through the two basic steps required to get a simple program running. As with any application, you need to be sure that Nodejs[1] is properly installed on your computer. You also need an editor (I will suggest sublime[2] editor) and a terminal application.  Programming in Nodejs.  We break the process of programming in Nodejs into two steps:     Create the program by typing it into a text editor and saving it to a file named, say, app.js.     Run (or execute) it by typing "node app.js" in the terminal window. Creating a Nodejs program. A program is nothing more than a sequence of characters, like a sentence, a paragraph, or a poem. To create one, we need only define that sequence characters using a text editor in the same way as we do for e-mail. app.js is an example program. Type these character into your text editor and save it into a file name...