Building a RESTful API
with Express and MongoDB
Presented by
Tu Tran
Content
What is the RESTful API?
How to build a RESTful API?
Hello Express
Express routing, middleware, controller
MongoDB, Mongoose
Let do it
1. RESTful API?
API + HTTP
2. How to build a RESTful API?
View
Controller
Model
3. Hello Express
Fast, minimal and flexible
Routings,
middleware
MVC
Demo
4. Routing & middleware
Routing
Middleware
Demo
3.1 Middleware
5. MongoDB and Mongoose
What is the MongoDB?
What is the Mongoose?
Schema, Model in Mongoose
CURD in Mongoose
Demo
6. Let do it
Made with Slides.com