This workshop has already been published as a course!
API Design with Node.js
Some Key Takeaways!
By participating along with us in the workshop, you'll learn:
- Learn how to create a basic server with express
- Learn how to start and connect to a mongoDB
- Learn how to design a RESTful api
- Learn how to organize our backend
- Learn how to create models and schema with Mongoose
- Learn how to create controller methods for our routes
- Learn how to create routes for our frontend
- Learn how to use middleware
- Learn how to protect our api
- Learn how to handle errors
- Learn how to test our api
- Learn how to deploy our api
Your (Awesome) Instructor
Spend a 3 Full Days Immersed With a Leading Node.js and API Design Master
Workshop Details
Learn how to take advange of node and build awesome API's, leverage opensource modules and plugins. Learn how to connect our api to a mongo database for easy and flexible storage. After this workshop, you'll know how to design, implement, test, and deploy an api with Node, Express and MongoDB. First, we'll jump right into node and talk a little about what it really is and why you should use it. We'll cover how to config and install modules with npm. Next, we'll jump into express and how to design and implement a RESTful api. We'll cover routing, controllers, and models and how to hook them up. We'll get into using middleware and how to properly test our code. Finally, we'll get into advanced data modeling with mongoose and mongo. Also, unique routing and api protection. We'll get into realtime systems with socket.io. We'll also get into deploying our API and the best practices involved with that.
Daily Schedule
We've already held over 300 workshops with thousands of attendees in-person and online. In this time we've discovered ways to schedule the day, so it goes smoothly and efficiently. Regardless if you're in-person or participating with us online you'll have the full ability to replay things you missed, get your questions answered LIVE and interact with the teacher throughout the day.
Day 1
- 9:00AMGrettings and tech check
- 9:30AMIntro to Nodejs
- 10:00AMIntro to express
- 10:30AMHack (creating basic server with express)
- 11:00AMDesign a RESTful API
- 11:30AMHack (create a mini API with express)
- 12:00PMLunch and hacking
- 12:30PMIntro to middleware in express
- 1:30PMHack (install and create useful middleware)
- 2:30PMUnit Testing our api
- 3:00PMHack (test our code)
- 3:30PMIntegration testing
- 4:00PMHack (test our code)
Day 2
- 9:00AMGo over API for blog and organinzation
- 9:30AMHack (connect to mongo and store data)
- 10:00AMData modeling with Mongoose and mongo
- 10:30AMHack (create schemas for our data)
- 11:30AMQuerying mongo with Mongoose
- 12:00PMLunch and Hacking
- 1:00PMHack (creating controller methods)
- 2:00PMCreating and connecting our routes
- 2:30PMHack (create and connect routing)
- 3:30PMHack (write test)
Day 3
- 9:00AMIntro to auth and JSON webtokens
- 9:30AMHack (implement auth endoints)
- 10:00AMProtecting our routes
- 10:30AMHack (create middleware to lockdown routes)
- 11:00AMError handling
- 11:30AMHack (create middlware to handle errors)
- 12:00PMLunch Hack
- 1:00PMRealtime systems
- 1:30PMHack (implement realtime collaborative blogging system)
- 2:15PMDeployment
- 2:30PMHack (deploy our api)
- 3:30PMQuestions?
Interact with the Instructor - Online & In-Person
Is This Workshop for Me?
Summary
This workshop is optimised for anyone who knows JavaScript and has little to none experience developing api's with or without node.
Any Prerequisites?
- You'll need to know JavaScript. That is the only requirement. If you have never built a server before, you will do fine. However, we will not get into detail on the intricacies on how a server works internally.
Event Details
What
3 Full Day Workshop Sessions
Replay Videos (available immediately)
When
July 22 to 24, 2015 - 9:30am to 5:30pm Central Daylight Time
Where
Option 1: Attend online on our full HD live stream
Option 2: Attend in-person at HQ in Minneapolis, MN