Build A Restful Api With Node.js Express & MongoDB | Rest Api Tutorial

preview_player
Показать описание

Rest apis help us decouple our backend code from our front end so we can use it across multiple application (mobile apps, web apps, etc).
We are going to learn how to build a simple blog post type api with all the useful methods(GET,POST,DELETE,PATCH).

Follow us on:

---------------------------------------------------------------------------------------------------------------------
Suggested Videos

---------------------------------------------------------------------------------------------------------------------
Social Media:
Facebook:

Instagram:
@vetrivel_ravi

Linkedin:

---------------------------------------------------------------------------------------------------------------------
Music :-
Song: Atch - Echoes
Music provided by Vlog No Copyright Music.
Creative Commons - Attribution 3.0 Unported
Рекомендации по теме
Комментарии
Автор

This is fantastic and really useful. thanks, Vetrivel Ravi

muthukumarc
Автор

Thanks alot brother. Well explained and presented.

sa-healvlogs
Автор

This was great tutorial, i learned a lot from it. A request please: it will be helpful if you can create a front end for it using react

shahidnawaz
Автор

minute 44:00 you can replace the package body-parser to "app.use(express.json())". Is the same

pillo
Автор

Hi Ravi, it could be good help, if you create frontend of this application and test these api's from UI too. i think it could be very helpful. i appreciate your effort. today i learn a lot from your videos. hopefully you will entertain my request. .

maliikusman
Автор

I really appreciate this video and it was understandable until the "post.save()" piece, that really isn't working for me. Is it that I needed to reconnect to the database?

nailathevenot
Автор

You are going to show your IP address like that?

ZunaDev
Автор

could you please attach the code
it will be helpful for us.

prithviraj-vjes
Автор

when i m adding data its show this probleme in post man {
"message": {
"code": 79,
"codeName": "UnknownReplWriteConcern",
"errInfo": {
"writeConcern": {
"w": "majority;",
"wtimeout": 0,
"provenance": "clientSupplied"
}
},
"result": {
"n": 1,
"electionId":
"opTime": {
"ts": {
"$timestamp": "7168905547851235329"
},
"t": 30
},
"writeConcernError": {
"code": 79,
"codeName": "UnknownReplWriteConcern",
"errmsg": "No write concern mode named 'majority;' found in replica set configuration",
"errInfo": {
"writeConcern": {
"w": "majority;",
"wtimeout": 0,
"provenance": "clientSupplied"
}
}
},
"ok": 1,
"$clusterTime": {
"clusterTime": {
"$timestamp": "7168905547851235329"
},
"signature": {
"hash": "KVSxH0CZLSkW63sQc8HMwi7gYWg=",
"keyId": {
"low": 4,
"high": 1657048624,
"unsigned": false
}
}
},
"operationTime": {
"$timestamp": "7168905547851235329"
}
}
}
}
any help plz

hachemdhawadi
join shbcf.ru