quick workflow of a nodejs api

Post on 17-May-2015

554 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Quick steps to create an API in nodejs using the Cloud9 IDE

TRANSCRIPT

QUICK WORKFLOW OF AN API IN NODE.JS

Paolo Carrasco

API

• Application Programming Interface• How software components should interact

with each other.

Node.js

• Server platform in Javascript• Event-driven, non-blocking I/O model

Github

• Free• Many apps are linked to Github

– https://github.com

Creating Github repository

Cloud 9 IDE

• IDE online• Workspace already setup for Node.js and Git• Collaborative environment• It can be linked to Github

Dashboard C9

Cloning a Github repository

Cloning a Github repository

Project created

Workspace of C9

Node.js initial config

package.json file

Install dependencies: Express

Install dependencies: grunt client

Install dependencies: grunt

Install dependencies: grunt-init

Install dependencies: grunt-init-node

Project scaffolding

Test structure

Testing the resources

Testing the resources

Implementing resources

Implementing resources

Project Structure

Muchas gracias

• Q&A

top related