Time to dive into it! Let’s start building our Node RESTful API. Well actually, let’s quickly plan it before we start. ———- Learn Node.js in our comprehensive 30h+ …
Original source
Time to dive into it! Let’s start building our Node RESTful API. Well actually, let’s quickly plan it before we start. ———- Learn Node.js in our comprehensive 30h+ …
Original source
30 responses to “Planning & First Steps | Creating a REST API with Node.js”
Hello Max and thank for the grand video. in my application ist the "MONGO_ATLAS_PW" and the "JWT_KEY" variable on env. undefine. i have install the nodemon and package.json configure.
Does anyone know what is difference using app.listen(port) and using http to create a server and listen to the port ?
For newcomers: You can use
server.use(app); // app is imported from app.js
server.listen(8000, () => {
console.log('App is listening on port 8000!')
});
I saw a SO post saying that "–save" is no longer needed because it automatically adds the dependency to package.json. For some reason, it doesn't work for me. So is it still needed?
cool
Awesome
Wait… are you German?
QUESTION??? HOW DO YOU ENABLE ES6 ON YOUR VSCODE EDITOR? I've tried several suggestions but no success. If you can help me with that, much appreciated. Thanks
Hi ,first of all thank you for the wonderful tutorial.
I have a small doubt , about folder structuring.
Instead of creating the app.js and server.js inside the root folder, i created in .git–> root–>src–>api–>my-node-api–>{server.js,app.js}
and I am trying to start the server from root and, it wasn't working .I had to go to my-node-api folder to run the "node server " command to make this work.
Is there any way to configure, such that I can run "node server " from the .git–> root.
you used postman, can we use Angular for this somehow?
Hello there!! I am trying ot create my restful Api resources using node js, howvere our compnay uses apache web server. Do i need to install Node js in our server? or can i just use the methods you are curently expaling and installl node js as a dependency in my project. Thanks! Tonathiu
how to use single node js api for mobile app(android/ios) and web(template engine) both?
Thanks
but i am little confused about what will be the 3 rd parameter that browser takes in app.use((req,res,next) [i mean next parameter ]
Think about everything max does support him by getting his courses on udemy they are all amazing thanks for this tutorial
Thanks a lot. You're the best.
Can you please make tutorial, teaching how to install and use angular-filesmanager node js app ?
https://www.npmjs.com/package/@rign/angular2-filemanager
Please I really need help
are you using webpack in this course please reply me so fast
awesome!
whats that IDE?
Supper cool. Thanks a lot Max 🙂
i am getting events.js:183 error can you help me and how to remove all ready used port
great teacher
This is a good serious
thank you for the tutorial.
btw, is the server.js is necessary if I'm in react native for mobile dev and planning to use this tutorial? I mean, that "http" thing.
please reply, I would appreciate so much. 🙂
Thank you for your tutorial, how can we implement NodeJS- base API which will give the results of an SNMP poll of a remote server, having snMp community string, snmp OID1 and snmp OID2, remote server IP any address with port 161, Thanks
I got no response on linux mint… got timeout error… what am i missing here?
I installed node express with sucess, in server.js im getting red squigly(sorry for spelling) under re in require('http'). Am i missing somethkng?
Thanks
Which vs code extensions are you using?
hello sir i am a subscriber i want to create a login page for ios application using webs services and i will use the social login system like login with facebook .. using laravel can you give me a link to tutorial or can do a video
waiting for your response
Superb tutorial ! Keep it up, the way you explain the concepts is really awesome !