Professional Documents
Culture Documents
WHAT IS MONGO?
OUR FIRST DATABASE!
DATABASE?
INSTEAD OF JUST SAVING TO A
FILE?
EREH TUP OT TAHW WONK T'NOD I ?SIHT GNIDAER UOY ERA YHW
PMACTOOB REPOLEVED BEW /OGNOM OT NOITCUDORTNI
NOSQL
WEB DEVELOPER
BOOTCAMP
POPULAR
EREH TUP OT TAHW WONK T'NOD I ?SIHT GNIDAER UOY ERA YHW
DATABASES
PMACTOOB REPOLEVED BEW /OGNOM OT NOITCUDORTNI
WEB DEVELOPER
BOOTCAMP
EREH TUP OT TAHW WONK T'NOD I ?SIHT GNIDAER UOY ERA YHW
WHY ARE WE
PMACTOOB REPOLEVED BEW /OGNOM OT NOITCUDORTNI
LEARNING MONGO?
Express middleware are functions that run during the request/response lifecycle.
MIDDLEWARE
Middleware are just functions
REQUEST RESPONSE
Each middleware has access to the request and response objects
Middleware can end the HTTP request by sending back a
response with methods like res.send()
OR middleware can be chained together, one after another by
calling next()
ERRORS!
REQUEST RESPONSE