Paolo Carrasco

QUICK WORKFLOW OF AN API
IN NODE.JS
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-initnode
Project scaffolding
Test structure
Testing the resources
Testing the resources
Implementing resources
Implementing resources
Project Structure
Muchas gracias
• Q&A

Quick workflow of a nodejs api