[#20]. Build a Todo App with Node.js, Express.js & MONGODB from Scratch!

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 84

  • @CodeWithSajjan
    @CodeWithSajjan  4 роки тому +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 🤣🤣🤣🤣🤣

  • @shashankshekhar8186
    @shashankshekhar8186 Рік тому +2

    This is probably the best tutorial u need

  • @amitpandharikar2377
    @amitpandharikar2377 3 роки тому +2

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

  • @fifi3395
    @fifi3395 7 місяців тому +1

    YOU SAVED ME THANK YOU FOR EXISTING THANKS THANKS THANKS

  • @hotnspicebyemti
    @hotnspicebyemti 2 роки тому +2

    thank you, i just finished it successfully

  • @sudoevans
    @sudoevans Рік тому +1

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

  • @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
      ua-cam.com/video/mDJRjCS1SMY/v-deo.html

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

  • @thijmensmart9095
    @thijmensmart9095 Рік тому +1

    legend saved my bachelor's

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

  • @amitpandharikar2377
    @amitpandharikar2377 3 роки тому +1

    Pls tell how to deploy your code on heroku

  • @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 😄💙

  • @AnkitSharma-hc3xh
    @AnkitSharma-hc3xh 2 роки тому +1

    please add how to setup registration facility

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

  • @ispasdaniel1661
    @ispasdaniel1661 3 роки тому +1

    This was very helpful!!! Good JOB

  • @shivlingjadhav9936
    @shivlingjadhav9936 3 роки тому +1

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

  • @InshuMussu
    @InshuMussu 2 роки тому +1

    Awesome

  • @shaikhsanuar5339
    @shaikhsanuar5339 2 роки тому +1

    Awesome bro. Keep on

  • @evanilsonp.8183
    @evanilsonp.8183 8 місяців тому +1

    Hey! Bootstrap is not working here :/

    • @CodeWithSajjan
      @CodeWithSajjan  8 місяців тому

      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!

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

  • @ashuF12
    @ashuF12 Рік тому +1

    great video! thanks

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

  • @explodestudios
    @explodestudios 3 роки тому +1

    Great one!!

  • @KarmaBhutiaCD-CS
    @KarmaBhutiaCD-CS 9 місяців тому

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

  • @ShankarKaligi
    @ShankarKaligi 2 роки тому +1

    its a good tutorial. thanks for posting

  • @inspired_enough_to_grow_up
    @inspired_enough_to_grow_up 2 роки тому +1

    bhai awesome

  • @anilitagi3340
    @anilitagi3340 4 місяці тому +1

    Tqs a lot ❤

  • @eswar3124
    @eswar3124 3 роки тому +2

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

  • @ELECTROMIST
    @ELECTROMIST Рік тому

    Joined!

  • @vivekj1302
    @vivekj1302 2 роки тому

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

    • @CodeWithSajjan
      @CodeWithSajjan  2 роки тому

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

    • @RoselandeWoods1
      @RoselandeWoods1 3 місяці тому

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

    • @CodeWithSajjan
      @CodeWithSajjan  2 місяці тому

      Check description ​@@RoselandeWoods1

  • @amitpandharikar2377
    @amitpandharikar2377 3 роки тому +1

    yeh mongo likhna hau ki mongod ekdm starting mein

    • @CodeWithSajjan
      @CodeWithSajjan  3 роки тому

      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 11 місяців тому

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

    • @CodeWithSajjan
      @CodeWithSajjan  10 місяців тому

      it works if you know how to run it.

  • @mihirjain7903
    @mihirjain7903 2 роки тому +1

    app get crash

    • @CodeWithSajjan
      @CodeWithSajjan  2 роки тому +1

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

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