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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Deploy for FREE your First NextJS Project to AWS Cloud](https://i.ytimg.com/vi/-IZNA3KG6yg/default.jpg)
![Plataforma de atração e capacitação de talentos na área de tecnologia](https://i.ytimg.com/vi/59SbS5hd5Rw/default.jpg)
![Axios Requests with ReactJS | REST API CRUD](https://i.ytimg.com/vi/VpcQNaAoL4A/default.jpg)
![What is an API?](https://i.ytimg.com/vi/Fqp4xp4yKLY/default.jpg)
![Top 3 FREE STOCK PHOTOS sites to use in your projects](https://i.ytimg.com/vi/xBr5Ff7CiO8/default.jpg)
![Drag and Drop in React with React Grid DND](https://i.ytimg.com/vi/9h5TihHxC4o/default.jpg)
![JavaScript | How to Fetch Data from an API](https://i.ytimg.com/vi/zOrejGF0oBA/default.jpg)
![NextJS | How to Use NextRouter to Transfer Data Between Pages](https://i.ytimg.com/vi/7wzMMBRVrfw/default.jpg)
![Deploy a NodeJS API Using Express to AWS for FREE](https://i.ytimg.com/vi/U4rEIeDBigw/default.jpg)
![Building a Newsletter with NextJS and AWS SNS](https://i.ytimg.com/vi/2AgcIe-xsXQ/default.jpg)
![TOP 5 VSCode Extensions for React Developers](https://i.ytimg.com/vi/_HtaUSAW1do/default.jpg)
![NextAuth.js | Building an Authentication APP with Typescript](https://i.ytimg.com/vi/JKySorTCf7E/default.jpg)