Загрузка страницы

Building an API with NodeJS and Express | Product List

In this video we are going to build a REST API from scratch using Node JS.

It will be a product list, so we can create, delete and update a product and of course we will be able to list all the products created.

Github Project: https://github.com/guidari/api-nodejs-product-list

Download Insomnia: https://insomnia.rest/download

My social medias:

LinkedIn: https://www.linkedin.com/in/guilherme-datilio-ribeiro-986220170/
Instagram: https://www.instagram.com/gui_datilio/

00:00 - Intro
00:22 - Setting up the server
03:12 - Installing Nodemon to reload our application after saving
05:12 - Creating the Product model
07:41 - Creating the product.routes.js to split the responsabilities
09:30 - Using the products route in the server.js
10:44 - Crating the ProductRepository.js
12:20 - Creating the "create" method
13:14 - Creating the POST route
14:09 - Testing the POST route
16:47 - Creating and setting up the function findByName
17:47 - Creating the "list" function and the "GET" route
18:29 - Testing the GET route
19:04 - Creating the "delete" method
19:58 - Creating the "DELETE" route
21:53 - Testing the "DELETE" route
22:40 - Creating the "updateQuantity" method
24:16 - Creating the "PATCH" route
26:10 - Testing the "PATCH" route
27:42 - Thank you for watching!

#JAVASCRIPT #DEVELOPER #NODEJS #API #EXPRESS #NODE #RESTAPI

Видео Building an API with NodeJS and Express | Product List канала Guilherme Datilio
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
29 августа 2021 г. 20:55:12
00:27:59
Яндекс.Метрика