VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
How to Build a RESTful API using Node, Express, and Mongo

How to Build a RESTful API using Node, Express, and Mongo

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
A REST API is an integral component of a web application. You don't need to be an expert backend developer to make your own. In this workshop, we will walk through the basic building blocks of creating your own REST API using Node.js, Express, and MongoDB. -Slide Deck: https://docs.google.com/presentation/d/1VSlo9JEsoVjNNH4DqOJtSWInKIis5p39lmHvAcLifSw -Github Repo: https://github.com/theoutlander/rest-api-workshop Tutorial from Nick Karnik. Check out his YouTube channel: https://www.youtube.com/channel/UClCm-WAOgN6XLwCpefSVezg Nick on
Date: 2022-03-14

Comments and reviews: 9


i got confuse when he made the models (costumer.models) in the end in the code he module.exports = mongoose.model('Customer' , CustomerSchema) what he is referencing with 'Customer' , it will be the new name schema in mongo or this doesn't have any relationship with costumer.js?
reply

Thanks for the tutorial Nick.
Just to update: currently mLab credentials are linked to mongoDB and it takes you to mongoDB and in there you get the full string parameter for mongoose.connect() from the mongoDB cluster database when you create it.

reply

Very thanks, tutorials are nice. These Node.js tutorials are exactly my demand! But are for 3,2 years ago. Are they suitable for work & learn OR needs to update? For example, maybe some features be disued,deprecated,replaced by others?
reply

If you are getting some errors, maybe the following tips will help you..
index.js: Should add app.use(bodyParser.urlencoded(- extended: false -))
customer.model.js: Should correct those db setting variables

reply

First of all thanx for making it simple for me. I wanna thank you again for 1:31:31 saying this otherwise I used to think -why I'm taking so much time to learn this.- Its encouraging for me.
reply

I have a question, when do we use 'next' middleware function? I would want to include 'next' to every function I make, but it seems unnecessary in most of the cases.
reply

Please help me out, I have been having this error:
(node:11560) UnhandledPromiseRejectionWarning: MongoParseError: Unescaped at-sign in authority section

reply

So i am about to start this tutorial to learn about API's but i have no experience with Node, Express and Mongo at all, do i need to cover these separate?
reply

if not working to connect to mongo DB downgrade version to version 2 and copie that link i stuck on this for a while
gr arend

reply
Add a review, comment






Other channel videos