[#20]. Build a Todo App with Node.js, Express.js & MONGODB from Scratch!
HTML-код
- Опубликовано: 30 авг 2020
- In this tutorial I am going to teach you how to build a Todo App with Node.js, Express.js & Mongodb(mongoose) from scratch! 😀
👉 WANT TO SUPPORT ME
www.buymeacoffee.com/karnaa787n
[ Finished Project Source Code ]
link: www.sajjankarn.com.np/blog/so...
[ Watch Full Video to understand the core concepts ]
Node js Playlist: ruclips.net/user/playlist?list...
========== [ SOCIAL MEDIA 😊😊😊 ] =================
fb: / sajjan.karn.378
insta: / . .
gmail: karnaa787@gmail.com
#mongoose
#mongdb
#node.js
#express.js
#node.js_tutorial
#express.js_tutorial
#webdevelopment
#programming
#websitedevelopment
#coding
#mongodbcrudopeations
#programmers - Наука
If you want to download the source code of the project link the download link is given in the description! ♥ Make Sure to share this tutorial !
your channel intro is super smooth and goes to the music, and then it gets to the actual channel logo and it looks like a PowerPoint transition
Haha yes ik 😂🤣 will improve in the future 🤣🤣🤣🤣🤣
Great one!!
This is probably the best tutorial u need
Thanks ❤️🔥
This was very helpful!!! Good JOB
Glad it was helpful!
Superb ❤, You are Excellent Programmer.....🔥🔥
Thank u❤️😁
Bro while deplying your code on herko it is hsowing application error on heroku after deplyong
Nice Guy, never wastes your time!
Thanks buddy, I am learning big.
I like the outro Music btw.
Glad you like it
thank you, i just finished it successfully
Great 😄
Awesome bro. Keep on
Thanks
its a good tutorial. thanks for posting
Thanks
great video! thanks
You're welcome 🔥
Joined!
Pls tell how to deploy your code on heroku
please add how to setup registration facility
thank you for your tutorials i have a question :- if i want to make update button and when i click it it will edit the sentence that i put it in the to do list how can i do that please
You can watch this video to get an idea
ruclips.net/video/mDJRjCS1SMY/видео.html
YOU SAVED ME THANK YOU FOR EXISTING THANKS THANKS THANKS
Happy to help! ❤️
Awesome
Thanks 💙
bhai awesome
Thanks
TypeError: app.use() requires a middleware function how to get rid of this error
as mentioned in the video, provide these middlewares as shown in the tutorial
app.use(express.urlencoded({extended: true});
app.use(express.static("public"))
app.use() accepts middleware (function) as an argument. If you are unsure about what middlewares are you should definitely read docs regarding it :)
Tqs a lot ❤
Thank you too
Hey, I tried the mongod command but it actually doesn't work, it says that the command isn't recognized!
set the mongodb installation bin path to your environment variable
legend saved my bachelor's
😂💛bro code 101
Hey 👋
Why did u use const {todo} = req.body
Can plz explain the {todo } part
const { todo } = req.body;
Is same as getting the data by using this method
const todo = req.body.todo;
This is called destructuring!
@@CodeWithSajjan thanks brother, maile vid x2 ma herdai thea ani kina eso gareko hola sochdai thea. bro vid ma ne explain gareko rexa. maile chai object ho ke vandai feri confused vae ra. thanks for the vid and great info Sajjan
@@ro7an636 thanks 😄💙
Hey! Bootstrap is not working here :/
Hey,
you can try other libraries or you can just use the version of the bootstrap that i used in this video, it should work ig. :) hope it helps!
Did you delete Todo.js that you first created for mongoose? 5:18
No, I did not.
How to be update todo with patch method
the only thing that you've to create is a patch route in express (in your backend) and simply send the request to that route... and the rest logic are handled in the backend. 🙌
You are refreshing page every time when you add or delete todo. It should't work like that.
Well for the sake of complexity, I didn't try to create a mock state handler... Afterall this was a nodejs and express js tutorial
App work, but you named most code as Todo, todo , even files just todo.js ... easily anyone gets lost , please nameThings , NameThingsLikeThat, long name is better, thanks
😂yup bro ... Make sure you watch my blog series i've named proper names in that series. I know you will love that series...🙂 Btw thanks for the suggestion
Can u pls explain and type... U did fastly... i Can't understand
I will but in upcoming videos
Not able to access the source code, can you please update it on Github and share
Thanks! I've updated the link please check out :)
@@CodeWithSajjanCan you update the code, it’s not working thanks
app get crash
instagram.com/sajjan_404
if you need any help ping me here.
yeh mongo likhna hau ki mongod ekdm starting mein
Mongod for starting mongodb local server
@@CodeWithSajjan it is showing mongod is not recognised when type mongod on command prompt
@@pagidimarriharini6519 you must add mongod executable in windows path environment variables.
@@CodeWithSajjan nodemon app is continuously crashing after every edit in html and reloading..what to do
this code is not work properly 😡😡😡😡😡😡😡there have no prober description
it works if you know how to run it.
bro pls reply
Yes ?
@@CodeWithSajjan bhai todo koa particular user keliye kese save kare
@@CodeWithSajjan matlab user A ka todo alag userB ka alag
@@user-rb1ek7gx9r you need to add authentication and login system if you want such features! and work with relations
@@CodeWithSajjan yeah i have added if user is authenticated thrn it redirect to profile page other wise not
need help
Yes! Reach me here @_thisissajjan_ on IG.
Or karnaa787@gmail.com
@@CodeWithSajjan how to be update to do with patch method