Search
To account for the video time in the certificate, wait for the video to shut down automatically. The next video of the course will be triggered next.
Quality content and selected for your learning.
Download your digital certificate of course completion after watching all course videos.
Many of the courses available have exercises to help with learning.
This course is free today and always will be, from start to finish you will pay nothing.
Teacher
There's always something to learn! We (Max and Manuel) create courses and tutorials that teach you everything related to web development. No matter if it is programming languages like JavaScript, runtimes like NodeJS or popular frameworks like ReactJS, Angular or VueJS (and much more!). We got you covered. :-)
0h14m
0h14m
0h17m
0h10m
0h15m
0h36m
0h18m
0h22m
0h03m
0h21m
0h28m
0h14m
0h16m
0h19m
Watch the 1st video of the course
Let's create a RESTful API with Node.js. To start with this series, let's first of all find out what a RESTful API actually is.
Join the full Node.js course: https://acad.link/nodejs (includes REST)
Also learn more about MongoDB: https://acad.link/mongodb
Check the full Node REST series: https://academind.com/learn/node-js/building-a-restful-api-with/
Check out all our other courses: https://academind.com/learn/our-courses
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content
Time to dive into it! Let's start building our Node RESTful API. Well actually, let's quickly plan it before we start.
Join the full Node.js course: https://acad.link/nodejs
Check out all our other courses: https://academind.com/learn/our-courses
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content
Our RESTful API needs more Routes! Learn how to add more routes to our Node Express project!
Join the full Node.js course: https://acad.link/nodejs
Check out all our other courses: https://academind.com/learn/our-courses
----------
Full Playlist: https://academind.com/learn/node-js/building-a-restful-api-with/
Source Code: https://academind.com/learn/node-js/building-a-restful-api-with/adding-more-routes-to-the-api/
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content
Things can go wrong in our Node RESTful API. Time to add some proper error handling. And let's also improve our workflow, so that we don't constantly have to restart the server.
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
Nodemon: https://github.com/remy/nodemon
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/03-improve-setup-error-handling
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Let's parse our request body, so that our RESTful API can receive and use data. And handle CORS to allow other clients to access our API.
Join the full Node.js course: https://acad.link/nodejs
Check out all our other courses: https://academind.com/learn/our-courses
----------
Full Playlist: https://academind.com/learn/node-js/building-a-restful-api-with/
Finished Code: https://academind.com/learn/node-js/building-a-restful-api-with/parsing-the-body-handling-cors/
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content
Time to not only handle our data in the endpoints (and then let the data go into the void) but to actually add a database: MongoDB!
Join the full MongoDB course: https://acad.link/mongodb
Exclusive discount also available for our course: https://acad.link/nodejs
Dive into the full Node.js REST series: https://academind.com/learn/node-js/building-a-restful-api-with/
Check out all our other courses: https://academind.com/learn/our-courses
----------
MongoDB Docs: https://www.mongodb.com/
Mongoose Docs: http://mongoosejs.com/docs/guide.html
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/05-add-mongodb-and-mongoose
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content
In the last video of this series, we added MongoDB and connected our product routes via Mongoose. Let's now also ensure that only the right data makes it into the database and let's also improve our Http responses.
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/06-validation-and-better-responses/api/routes
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
We worked on the products, we added MongoDB and Mongoose - time to now also connect our order routes to the database.
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/07-orders-and-mongodb/api/routes
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Sometimes, you have related documents in your MongoDB. Learn how you can populate them with data of each other via Mongoose.
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
populate() in the Mongoose Docs: http://mongoosejs.com/docs/populate.html
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/08-populate-orders-with-products/api/routes
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
We're already storing a lot of data on our database but what about files? Let's take a closer look!
Join the full Node.js course: https://acad.link/nodejs
Check out all our other courses: https://academind.com/learn/our-courses
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
More about Multer: https://github.com/expressjs/multer
Parsing Binary data in Node.js: https://stackoverflow.com/questions/16598973/uploading-binary-file-on-node-js
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/09-image-upload
----------
• Go to https://www.academind.com and subscribe to our newsletter to stay updated and to get exclusive content
Time to add authentication to the RESTful API. Let's start with user signup.
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/10-auth-signup
More about JWT: https://jwt.io/
bcrypt Github Repo: https://github.com/kelektiv/node.bcrypt.js
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Users are able to sign up, it's now time to add Login functionality to the Node.js RESTful API. We'll have to sign some JWT for that...
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/11-auth-signin
More about JWT: https://jwt.io
node-jsonwebtoken Github Repo: https://github.com/auth0/node-jsonwebtoken
bcrypt Github Repo: https://github.com/kelektiv/node.bcrypt.js
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Users can sign up and sign in - let's now use that to ensure that certain routes are only accessible by authenticated users. Time for more JWT action in our Node.js REST API.
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/12-auth-protect-routes
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Thus far, all our logic resides in the route files. Let's split it up and add some controllers to the Node RESTful API!
----------
Learn Node.js in our comprehensive 30h course: https://acad.link/nodejs
Source Code: https://github.com/academind/node-restful-api-tutorial/tree/13-controllers
----------
• You can follow Max on Twitter (@maxedapps).
• You can also find us on Facebook.(https://www.facebook.com/academindchannel/)
• Or visit our Website (https://www.academind.com) and subscribe to our newsletter!
See you in the videos!
Course comments