Index
A
- actor
- retrieving, with GET / Retrieving an actor with GET
- creating, with POST / Creating a new actor with POST
- updating, with PUT / Updating an actor with PUT
- removing, with DELETE / Removing an actor with DELETE
- API endpoints
- testing / Testing API endpoints
B
- Bluebird
- URL / User leaves the game
- builds
- automating / Automate builds and deploys
C
- catch method / The then and catch method
- Chrome Developer Tools
- used, for debugging Socket.IO / Debug Socket.IO with Chrome Developer Tools
- code structure
- about / Code structure
- Connect 4
- new game, creating / Creating a new game
- cron
- CRUD operations
- about / Responding to CRUD operations
- GET / Responding to CRUD operations
- POST / Responding to CRUD operations
- PUT / Responding to CRUD operations
- DELETE / Responding to CRUD operations
- actor, retrieving with GET / Retrieving an actor with GET
- actor, creating with POST / Creating a new actor with POST
- actor, updating with PUT / Updating an actor with PUT
- actor, removing with DELETE / Removing an actor with DELETE
D
- data
- persisting / Persisting data
- exception handling / Exception handling
- database
- validating / Validating your database
- DELETE
- actor, removing with / Removing an actor with DELETE
- deploys
- automating / Automate builds and deploys
- distance optimization
- about / Optimizing for distance
E
- e-mail follow up
- about / E-mail follow up
- email-templates
- URL / E-mail follow up
- error handling
- about / Validation and error handling
- exception handling / Exception handling
- Express
- setting, for static site / Setting up Express for a static site
- Hello World! / Saying Hello, World in Express
- Jade templating / Jade templating
- Express middleware
- about / Introducing Express middleware
F
- Factory pattern
- about / Code structure
- folder structure
- functions
- extracting, to reusable middleware / Extracting functions to reusable middleware
G
- game
- creating / Creating a new game
- input validation / Input validation
- state, obtaining / Getting the game state
- joining / Joining a game
- playing / Playing the game
- testing, for tie / Testing for a tie, Summary
- game state
- modeling, with Mongoose / Modeling game state with Mongoose
- generator syntax
- about / Generator syntax
- middlewares / Middleware philosophy
- Context, versus req / Context versus req,res
- Context, versus res / Context versus req,res
- GET
- actor, retrieving with / Retrieving an actor with GET
- gruntfile
- about / Introducing the Gruntfile
H
- Heroku
- HTML pages
- rendering / Rendering HTML pages
J
- Jade
- URL / Profile templates
K
- Koa.js application
- about / Tying it together
L
- link model
- about / The link model
- link routes
- about / The link routes
- local user authentication
- about / Local user authentication
- user object modeling / User object modeling
- Express middleware / Introducing Express middleware
- passport, setting up / Setting up passport
- users, registering / Registering users
- users, authenticating / Authenticating users
M
- middlewares / Middleware philosophy
- Mocha
- about / Introducing Mocha
- model.create() method, Mongoose
- URL / User join
- moment.js
- URL / Naive pairing
- Mongojs
- URL / Persisting data
- Mongoose
- URL / User object modeling, Object modeling with Mongoose
- object modeling, using with / Object modeling with Mongoose
N
- naive pairing
- about / Naive pairing
- tests / Notes about tests
- node-cron
- periodical tasks, used with / Periodical tasks with node-cron
- URL / Periodical tasks with node-cron
- Node.js
- Node.js applications
- deploying / Deploying Node.js applications
- Nodemailer
- URL / E-mail follow up
O
- OAuth, with passport
- about / OAuth with passport
- adding, to user model / Adding OAuth to user model
- API tokens, obtaining / Getting API tokens
- third party registration strategies, installing / Third-party registration and login
- object modeling
- with Mongoose / Object modeling with Mongoose
P
- parallel requests / Parallel requests
- params object / Responding to CRUD operations
- passportjs
- URL / User object modeling
- periodical tasks
- with node-cron / Periodical tasks with node-cron
- POST
- actor, creating with / Creating a new actor with POST
- profile pages
- about / Profile pages
- URL params / URL params
- profile templates / Profile templates
- Promise
- about / Promises
- benefits / Promises
- then method / The then and catch method
- catch method / The then and catch method
- multiple Promises, chaining / Chain multiple Promises
- duplicates, preventing / Prevent duplicates
- user exit / User leaves the game
- active users, displaying / Show all active users
- subdocuments / The words – Subdocuments
- input, validating / Validate input
- race conditions, dealing with / Dealing with race conditions
- race conditions, testing / Test case to test race conditions
- Promise.map()method / Show all active users
- PUT
- actor, updating with / Updating an actor with PUT
R
- res parameter / Responding to CRUD operations
- reusable middleware
- functions, extracting to / Extracting functions to reusable middleware
- Robomongo
- URL / Persisting data
- route
- updating / Update route
- routes
- defining / Defining routes
S
- schema
- user schema, designing / User schema
- user, joining / User join
- Socket.IO
- documentation / Socket.IO
- updates, pushing to clients / Adding and pushing updates to clients
- updates, adding to clients / Adding and pushing updates to clients
- applications, launching / Launch Socket.IO applications
- debugging, with Chrome Developer Tools / Debug Socket.IO with Chrome Developer Tools
- Socket.IO applications
- launching / Launch Socket.IO applications
- testing, with Socket.IO client / Test Socket.IO applications with the Socket.IO client
- Socket.IO client
- used, for testing Socket.IO applications / Test Socket.IO applications with the Socket.IO client
- static assets
- serving / Serving static assets
- swig
- URL / E-mail follow up
T
- testing
- about / Testing, Testing
- API endpoints / Testing API endpoints
- tests / Notes about tests
- performing / Let's perform some tests
- parallel requests / Parallel requests
- HTML pages, rendering / Rendering HTML pages
- static assets, serving / Serving static assets
- then method / The then and catch method
- timekeeper
- URL / Considering user history
- Travis CI
U
- unique IDs
- generating / Generating unique IDs
- user history
- about / Considering user history
- user object modeling
- about / User object modeling
V
- validation
- about / Validation and error handling
W
- Word Chain Game
- about / Gameplay
- real-time application overview / Real-time application overview
- active users, tracking / Keeping track of active users