Developing REST APIs with Node.js and HAPI

DATE: Wednesday the 18th of November

This workshop will teach you how to use HAPI.js to craft awesome APIs with validation, caching, and, more importantly, how to code a data layer on top of MongoDB that will not cause headaches in production!

Take a look to the Special Packages:
– “1 Workshop + Conference Ticket”: we offer 15% DISCOUNT on the total price!
– “2 Workshops + Conference Ticket”: we offer 20% DISCOUNT on the total price!
Click here to know how to obtain these discounts.

LANGUAGE
Italian

LEVEL
Medium

DURATION
The workshop is full-day (8 hours) from 9:00 to 18:00, with one hour lunch break.

CHECK IN: 8:30 – 9:00

LOCATION
Politecnico di Milano – Bovisa | Building BL25, aula 0.12
Via R. Lambruschini, 4 – Milano

PRICES:
Every 8 hours workshop’s ticket is fixed:
– to 125 € until the 23rd of September;
– to 160 € from the 24th of September to the 15th of November
– to 190  from the 16th of November to the end of the sales.

Take a look to the Special Packages:
– “1 Workshop + Conference Ticket”: we offer 15% DISCOUNT on the total price!
– “2 Workshops + Conference Ticket”: we offer 20% DISCOUNT on the total price!
Click here to know how to obtain these discounts.

 

MATTEO COLLINA
Matteo is a code pirate and mad scientist. He spends most of his days programming in node.js, but in the past he worked with Ruby, Java and Objective-C. Matteo is a Software Architect at nearForm, where he consults for the top brands in world. Matteo is also the author of the Node.js MQTT Broker, Mosca and of the LevelGraph database. Matteo spoke at several international conferences: NodeSummit, Nodeconf.eu, LXJS, Distill by Engine Yard, and JsDay to name a few. He is also co-author of the book “Javascript: Best Practices” edited by FAG, Milan.

ABSTRACT
This workshop will cover how to set up your application for doing TDD, and how to expose a REST API using HAPI.js. HAPI is the framework that was developed by Wallmart to support all their API efforts: it’s solid and production ready. We will follow a TDD approach using Lab, the testing tool for HAPI! You will go schema-less with MongoDB, using HAPI.js native tools for validations: Joi. Then, you will learn how to structure your application to write testable and reusable code, without going into the spaghetti mess.

TABLE OF CONTENTS
0) installing node? (if needed, better if not)
1) Hapi.js to serve a JSON, and how to build your API
2) Store data in MongoDB while maintaining your sanity
3) Node.js basics
4) Streaming files, data, and pull-based interfaces

TRAINING OBJECTIVES
– learn the basics of Node.js
– learn the basics of HAPI
– learn how to do TDD with Lab
– learn how to use the native MongoDB driver
– learn how to structure your code into modules, and unit test them

WHO THE WORKSHOP IS DEDICATED TO?
Software developers coming from Java, .NET or PHP. This course do not assume any experience with Node.js or Javascript, but some basics around TDD are needed and not covered by this course.

PREREQUISITES NEEDED FROM ATTENDEES
– Basics of Javascript, just follow the workshopper “Javascripting” su nodeschool.io if want to fill you knowledge gaps
– Basics of Node.js, just follow the workshopper “Learn You Node” su nodeschool.io if want to fill you knowledge gaps
– Node.js (4.0+) installed on your laptop, preferably on Linux or Mac OS X
– If you are running Windows (7+), you would need to have Visual Studio installed
– MongoDB

HARDWARE AND SOFTWARE REQUIREMENTS

 

The workshop will be held only if the minimun number of attendees is reached.

Take a look to the Special Packages:
– “1 Workshop + Conference Ticket”: we offer 15% DISCOUNT on the total price!
– “2 Workshops + Conference Ticket”: we offer 20% DISCOUNT on the total price!
Click here to know how to obtain these discounts.

Back to workshops list

Main Sponsor