Build a REST API with Node JS and Express | CRUD API Tutorial
Mô tả
In this video, you'll learn everything you need to know about creating a simple API using Node and Express. 📧 Join our JavaScript Mastery's Newsletter on Web Development, JavaScript & React to get exclusive programming guides, tips & tricks, and entire e-books: https://resource.jsmastery.pro/newsle... There’s a high chance you came across the term REST API if you’ve thought about getting data from a source on the internet, such as Facebook or Github. But what is a REST API? And more importantly, how can you build one. There are some more often used terms and technologies when building APIs such as Express, Node, Postman, and a CRUD API. I'm here to show you how all of that works in practice so that you can build your own APIs. Let's dive right in!
Danh sách bài giảng (1 bài)
Bài 1: Build a REST API with Node JS and Express | CRUD API Tutorial
Video bài giảngBài kiểm tra Quizzes (0)
Chưa mở khóaĐánh giá từ học viên
Nhận xét và trải nghiệm thực tế từ các học viên đã đăng ký tham gia khóa học này.
Dựa trên 10 lượt đánh giá từ học viên
Đăng nhập để đánh giá khóa học
Bạn cần đăng nhập và tham gia khóa học để có thể gửi đánh giá và nhận xét.
Tất cả đánh giá 10
JavaScript Mastery PRO launching soon! Be the first one to find out about it - https://javascriptmastery.eo.page 🔥
One of the best videos on YouTube, very explanatory and straight to the point, please create the one for Mongo DB and data base stuff you talked about. You are a hero.
My notes:
== installing packages and some package.json setting
-- npm init
-- npm install --save express
-- go to package.json add after main:
"type":"module",
-- npm install --save-dev nodemon
-- go to package.json add inside script (you can delete test):
"start":"nodemon index.js"
-- to start nodemon, go to terminal and type:
nodemon index.js
******************************************************************
== Creating index.js
-- import express
-- import bodyParser
-- import usersRoutes
-- add basic express server settings (app function, port, listener)
-- add bodyParser middle ware :
- app.use(bodyParser.json())
-- add router command, after bodyParser command:
- app.use('/users', userRoutes)
******************************************************************
== Creating routes
who told you time traveling is not possible, from 2022 to 2020( in 2022 its boom so I came back in 2020 to learn this masterpiece)
That's an actual tutorial. I watched like 10 others that were so abstract I felt like wasting my time. This one actually explained and show us stuff in a concrete way. Thanks a lot
20:29 Make sure you change res.send('Hello'); to.... res.send(users) or this will not work
I want to take a minute & appreciate the quality knowledge he has delivered to the world. I have seen many videos on Rest APIs with NodeJS, But this is just outstanding. The English pronunciation was so clear that any non-native person can understand it. The flow of the video was in such a way that, I was understanding what is happening throughout the video. And one more thing - I started this video at 12 AM & It's 1:15 AM now. I didn't know how the time went by. What a great mentor. Looking forward to seeing such great content for all my javascript needs. Subscribed.😀