Node.js API Tutorial for Beginners | Build a Basic Node.js REST API in 10 Minutes - Part 2

2 years ago
83

In this Node.js API tutorial for beginners, we'll walk through the basics of setting up a Node.js API using the Express library.

In part 2, we get the project take a look at setting up Postman and how to get it to talk to Express.js using the body-parser library.

In the next episode, we'll integrate Mongo via Mongoose to actually wrap this up and build out the full CRUD API.

What is a REST API?

REST stands for representational state transfer. If that sounds too complicated, you're right 🤣

A very oversimplified explanation is that we need to have everything we need to process an API request included in the request. We see this in action when we use the ID to look up a specific Dog record during the video.

Mongoose tutorial: https://youtu.be/Q1gewixDMYs

Loading comments...