[#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
  • НаукаНаука

Комментарии • 83

  • @CodeWithSajjan
    @CodeWithSajjan  3 года назад +8

    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 !

  • @charlieszasz7356
    @charlieszasz7356 Год назад +2

    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

    • @CodeWithSajjan
      @CodeWithSajjan  Год назад

      Haha yes ik 😂🤣 will improve in the future 🤣🤣🤣🤣🤣

  • @explodestudios
    @explodestudios 2 года назад +1

    Great one!!

  • @shashankshekhar8186
    @shashankshekhar8186 Год назад +2

    This is probably the best tutorial u need

  • @ispasdaniel1661
    @ispasdaniel1661 3 года назад +1

    This was very helpful!!! Good JOB

  • @shivlingjadhav9936
    @shivlingjadhav9936 3 года назад +1

    Superb ❤, You are Excellent Programmer.....🔥🔥

  • @amitpandharikar2377
    @amitpandharikar2377 2 года назад +2

    Bro while deplying your code on herko it is hsowing application error on heroku after deplyong

  • @sudoevans
    @sudoevans Год назад +1

    Nice Guy, never wastes your time!
    Thanks buddy, I am learning big.
    I like the outro Music btw.

  • @hotnspicebyemti
    @hotnspicebyemti 2 года назад +1

    thank you, i just finished it successfully

  • @shaikhsanuar5339
    @shaikhsanuar5339 Год назад +1

    Awesome bro. Keep on

  • @ShankarKaligi
    @ShankarKaligi 2 года назад +1

    its a good tutorial. thanks for posting

  • @ashuF12
    @ashuF12 Год назад +1

    great video! thanks

  • @ELECTROMIST
    @ELECTROMIST 11 месяцев назад

    Joined!

  • @amitpandharikar2377
    @amitpandharikar2377 2 года назад +1

    Pls tell how to deploy your code on heroku

  • @AnkitSharma-hc3xh
    @AnkitSharma-hc3xh 2 года назад +1

    please add how to setup registration facility

  • @snakeeater6743
    @snakeeater6743 Год назад +1

    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

    • @CodeWithSajjan
      @CodeWithSajjan  Год назад +1

      You can watch this video to get an idea
      ruclips.net/video/mDJRjCS1SMY/видео.html

  • @fifi3395
    @fifi3395 4 месяца назад +1

    YOU SAVED ME THANK YOU FOR EXISTING THANKS THANKS THANKS

  • @InshuMussu
    @InshuMussu 2 года назад +1

    Awesome

  • @Aysh_Sach_16-2
    @Aysh_Sach_16-2 2 года назад +1

    bhai awesome

  • @cherryy2251
    @cherryy2251 2 года назад +3

    TypeError: app.use() requires a middleware function how to get rid of this error

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад

      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 :)

  • @anilitagi3340
    @anilitagi3340 Месяц назад +1

    Tqs a lot ❤

  • @vazgenbakhtiaryan7414
    @vazgenbakhtiaryan7414 2 года назад +1

    Hey, I tried the mongod command but it actually doesn't work, it says that the command isn't recognized!

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад +3

      set the mongodb installation bin path to your environment variable

  • @thijmensmart9095
    @thijmensmart9095 Год назад +1

    legend saved my bachelor's

  • @ro7an636
    @ro7an636 2 года назад +1

    Hey 👋
    Why did u use const {todo} = req.body
    Can plz explain the {todo } part

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад +2

      const { todo } = req.body;
      Is same as getting the data by using this method
      const todo = req.body.todo;
      This is called destructuring!

    • @ro7an636
      @ro7an636 2 года назад +1

      @@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

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад

      @@ro7an636 thanks 😄💙

  • @evanilsonp.8183
    @evanilsonp.8183 5 месяцев назад +1

    Hey! Bootstrap is not working here :/

    • @CodeWithSajjan
      @CodeWithSajjan  4 месяца назад

      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!

  • @KarmaBhutiaCD-CS
    @KarmaBhutiaCD-CS 6 месяцев назад

    Did you delete Todo.js that you first created for mongoose? 5:18

  • @sauravvats1932
    @sauravvats1932 2 года назад +1

    How to be update todo with patch method

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад

      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. 🙌

  • @vicTor-ft8xv
    @vicTor-ft8xv 2 года назад +2

    You are refreshing page every time when you add or delete todo. It should't work like that.

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад

      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

  • @Ahmedhkad
    @Ahmedhkad 3 года назад +3

    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

    • @CodeWithSajjan
      @CodeWithSajjan  3 года назад

      😂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

  • @eswar3124
    @eswar3124 3 года назад +2

    Can u pls explain and type... U did fastly... i Can't understand

  • @vivekj1302
    @vivekj1302 Год назад

    Not able to access the source code, can you please update it on Github and share

    • @CodeWithSajjan
      @CodeWithSajjan  Год назад

      Thanks! I've updated the link please check out :)

    • @RoselandeWoods1
      @RoselandeWoods1 15 дней назад

      @@CodeWithSajjanCan you update the code, it’s not working thanks

  • @mihirjain7903
    @mihirjain7903 2 года назад +1

    app get crash

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад +1

      instagram.com/sajjan_404
      if you need any help ping me here.

  • @amitpandharikar2377
    @amitpandharikar2377 2 года назад +1

    yeh mongo likhna hau ki mongod ekdm starting mein

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад

      Mongod for starting mongodb local server

    • @pagidimarriharini6519
      @pagidimarriharini6519 Год назад

      @@CodeWithSajjan it is showing mongod is not recognised when type mongod on command prompt

    • @CodeWithSajjan
      @CodeWithSajjan  Год назад

      @@pagidimarriharini6519 you must add mongod executable in windows path environment variables.

    • @pagidimarriharini6519
      @pagidimarriharini6519 Год назад

      @@CodeWithSajjan nodemon app is continuously crashing after every edit in html and reloading..what to do

  • @nabamipal2063
    @nabamipal2063 8 месяцев назад

    this code is not work properly 😡😡😡😡😡😡😡there have no prober description

    • @CodeWithSajjan
      @CodeWithSajjan  7 месяцев назад

      it works if you know how to run it.

  • @user-rb1ek7gx9r
    @user-rb1ek7gx9r 2 года назад +1

    bro pls reply

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад +1

      Yes ?

    • @user-rb1ek7gx9r
      @user-rb1ek7gx9r 2 года назад

      @@CodeWithSajjan bhai todo koa particular user keliye kese save kare

    • @user-rb1ek7gx9r
      @user-rb1ek7gx9r 2 года назад

      @@CodeWithSajjan matlab user A ka todo alag userB ka alag

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад

      @@user-rb1ek7gx9r you need to add authentication and login system if you want such features! and work with relations

    • @user-rb1ek7gx9r
      @user-rb1ek7gx9r 2 года назад

      @@CodeWithSajjan yeah i have added if user is authenticated thrn it redirect to profile page other wise not

  • @ananyabanik3176
    @ananyabanik3176 2 года назад

    need help

    • @CodeWithSajjan
      @CodeWithSajjan  2 года назад

      Yes! Reach me here @_thisissajjan_ on IG.
      Or karnaa787@gmail.com

    • @sauravvats1932
      @sauravvats1932 2 года назад

      @@CodeWithSajjan how to be update to do with patch method