VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
MongoDB Tutorial - CRUD app from scratch using Node.js

MongoDB Tutorial - CRUD app from scratch using Node.js

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
In this MongoDB Tutorial, you will learn how to use MongoDB to create a complete Todo CRUD Application. This project uses MongoDB, Node.js, Express.js, jQuery, Bootstrap, and the Fetch API. -Code: https://github.com/noobcoder1137/Todo_Rest_CRUD_Application_JQuery_FetchAPI --Course Contents -- -- (00:00) Overview -- (01:57) Setting Up our Application -- (11:27) Server Side - Read Portion -- (15:56) Server Side - Update Portion -- (21:17) Server Side - Create Portion -- (25:03) Server Side - Delete Portion -- (28:44) Creating Our Index.html File -- (41:25) Fetch API - GET Request -- (44:42) Fetch API - POST Request -- (49:39) Fetch API - DELETE Request -- (53:44) Fetch API - PUT Request -- (59:07) User Input Validation Tutorial from NoobCoder. Check out the NoobCoder YouTube channel: https://www.youtube.com/channel/UCV9MhzHCMx0Y83b5F8HWv-Q
Date: 2022-03-14

Comments and reviews: 10


if you get this error below when you run your app.js after part of the -Setting Up our Application-,
---
DeprecationWarning: current Server Discovery and Monitoring engine is deprecated,
and will be removed in a future version.
To use the new Server Discover and Monitoring engine,
pass option - useUnifiedTopology: true - to the MongoClient constructor.
(Use -node --trace-deprecation ...- to show where the warning was created)
---
change the mongoOptions object in db.js file such as that below
---
const mongoOptions = -
useNewUrlParser: true,
useUnifiedTopology: true // add this part to get ride of the error
-;
---
I hope that is gonna help you.
Because it worked on my code...

reply

Nice tutorial! I can't open mongo shell on visual studio code(-mongo- is not recognized as the name of a cmdlet...), while installing the packages with npm(is there a certain order to install them?) 1 low severity vulnerability is being found on all of them -low = insecure default configuration - package = final handler - dependency of = express; as of now I didn't find a way to fix it, actually it is said not to be one available yet; does this have any relation to mongo shell not working? Thanks!
reply

mongo : The term 'mongo' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, -
verify that the path is correct and try again.-
At line:1 char:1-
+ mongo-
+ ------
+ CategoryInfo : ObjectNotFound: (mongo:String) [], CommandNotFoundException-
+ FullyQualifiedErrorId : CommandNotFoundException

reply

The errors that I encountered and solved:
npm is not recognized : download node.js
mongo is not recognized: (download mongoDB if you did not) find your mongo.exe file and add it's address to your PATH env.
An error at the return part of buildTemplate function: Be sure it is -return - -;- , not -return ' '; -.

reply

Im unable to check data of the DB in the shell eventho the collections are created and i still get the data on the app but when using the CMD there is no indexes, no data at all is there something that i am missing?
reply

my edit button is not working. any thoughts ? i commented code straight from the github he posted and i went through the whole tutorial. anybody have timestamp when he started to do the edit button ?
reply

This tutorial doesn't feel like it's from scratch. For instance, something was already set up on POSTMAN before recording. Makes the tutorial really difficult to code along to for beginners.
reply

You know what..u should learn how to teach from brad...u are literally just writing the code which u crammed without even explaining the importance of that code
reply

Hey guys, shortly before you run your code at the first segment, make sure you have mongodb installed.. Start it in the background before running your app.
reply

I have an issue tha when hitting the api ii ts giving me message that cannot read property 'collection' of null. Please help me with this
reply
Add a review, comment






Other channel videos