Project Setup - Node.js/Express/MongoDB Course #1

  Рет қаралды 276,439

Web Dev Simplified

Web Dev Simplified

5 жыл бұрын

In this video we will be setting up the base of our project by:
1. Setting up Express
2. Hooking up MongoDB
3. Setting up local ENV variables
4. Creating a base layout HTML file
5. Setting up our MVC folder structure
MongoDB Atlas:
mbsy.co/mongodb/46535922.
How To Install Node.js:
• Your First Node.js Web...
How To Install MongoDB:
• How To Install MongoDB...
Learn Git In 20 Minutes:
• Learn Git in 20 Minutes
Code For This Video:
github.com/WebDevSimplified/M...
Previous Video:
• MVC Explained in 4 Min...
Next Video:
• Author's Index/Create/...
Playlist:
• Full Stack Web Develop...
Twitter:
/ devsimplified
GitHub:
github.com/WebDevSimplified
CodePen:
codepen.io/WebDevSimplified
#Node.js #FullStack #MongoDB

Пікірлер: 671
@AhSoh7091
@AhSoh7091 5 жыл бұрын
to those error src.toString().split(NEWLINE).forEach(function (line, idx) { ^ TypeError: Cannot read property 'toString' of undefined try it require('dotenv').config(); this works for me ...
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks for posting this fix.
@ih4722
@ih4722 5 жыл бұрын
Thanks worked with me as well.
@kmparkhu
@kmparkhu 5 жыл бұрын
Thanks, this worked for me too.
@jasonmckay2769
@jasonmckay2769 5 жыл бұрын
Thanks mate! Worked like a charm.
@jasonmckay2769
@jasonmckay2769 5 жыл бұрын
if (process.env.NODE_ENV !== 'production') { require('dotenv').config(); } place that at the top of your server.js
@brianwkinyua
@brianwkinyua 3 жыл бұрын
Awesome series! I love that you explain in detail why you are doing what you are doing in every step, including explaining the errors you will get by not taking the step correctly. Many people do not do that. Thank you for doing that.
@mr.webdev3700
@mr.webdev3700 5 жыл бұрын
OH YEAHHH! Who else is pumped for this series? 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I know I am!
@aayushbisen89
@aayushbisen89 5 жыл бұрын
I am!
@chrisjasonmcqueen
@chrisjasonmcqueen 4 жыл бұрын
such an epic video!!
@sicfxmusic
@sicfxmusic 2 жыл бұрын
I'm late but YEAAAAASSSS I AM!!
@humans-are-shite
@humans-are-shite 4 жыл бұрын
You described in 30 minutes what my professor couldn't clear describe in 3 weeks! Awesome!
@Herculesprods
@Herculesprods Жыл бұрын
That's why the professor didn't have a real job with a suitable salary.💸 Real teachers🧑‍🏫are people that are competent in the field they're trying to teach and had real experience & knowledge in it. The solution to this worldwide🗺problem is to teach all the needed knowledge by yourself. 💪Use the power of the internet.
@alice13eth
@alice13eth 8 ай бұрын
Better than Meta explained it
@agnieszkalewandowska9896
@agnieszkalewandowska9896 4 жыл бұрын
Learning to build websites has never been so much easy and fun. Thank you, Kyle! :D
@gello95
@gello95 2 жыл бұрын
Just came from the videos on how the backend works, what is REST, & MVC explained. I’m loving how well put these explanations are!
@mcvgs1780
@mcvgs1780 4 жыл бұрын
I came from Laravel so all the MVC stuff was easy to understand and now I'm starting to learn web development in node. Thanks Kyle
@rifatsalmanabir3352
@rifatsalmanabir3352 5 жыл бұрын
Just wow. Amazing amazing amazing! You simply explain complex things. Eagerly waited for the entire series including session, cookies, authentication, server side and client side validation on Express.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I hope you enjoy the rest!
@JUnderwoodViolin
@JUnderwoodViolin 4 жыл бұрын
I feel like I could watch this video 50 times over and just keep learning something new, amazing job, Kyle!
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Thank you!
@ricardomlourenco
@ricardomlourenco 3 жыл бұрын
Thank you very much dude! Instead of going to the tutorial hell, I'm learning nodejs with your pragmatic and very well explained courses! Thank you!
@thedevbek
@thedevbek Жыл бұрын
@Kyle you are the GOAT of dev education. I don't know how you do it but you put everything so clearly together. I even understand Express now as well because of another on of your videos. I would love your javascript , but I'm a broke student...But I loved your Learn CSS course. Thanks for all the great content!!
@theDarweesh
@theDarweesh 3 жыл бұрын
Great work mate #WDS, Keep it up If you're facing an error with dotenv at 16:40, change require('dotenv').load() to require('dotenv').config()
@allaouaboudriou2527
@allaouaboudriou2527 2 жыл бұрын
thank u very much man
@tamlongnguyen6604
@tamlongnguyen6604 2 жыл бұрын
thank so so much
@Dnavashen
@Dnavashen 2 жыл бұрын
thanks a lot!!!
@gogutans
@gogutans 2 жыл бұрын
thank you!
@thevanted99
@thevanted99 2 жыл бұрын
thanks man, helped a lot
@o1techacademy
@o1techacademy 2 жыл бұрын
You finished me with this awesome video. I have to re watch it again and again until I absolve all of its value.
@possibleneat5026
@possibleneat5026 5 жыл бұрын
The world need more people like you, im decided to be like you someday teachinh others for better wordl
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you! That really means a lot to me. I am sure that you will be an amazing teacher one day!
@BluePhoenixGames1
@BluePhoenixGames1 5 жыл бұрын
Really well put together! It's nice with a series too that combine several technologies into a more complete project
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks! I am glad you are enjoying it.
@DevCops
@DevCops 5 жыл бұрын
Just another Error Correction for everyone, the .load() has been removed from dotenv , rather .config() has replaced it.
@yellemonster
@yellemonster 4 жыл бұрын
You just saved me! Thank you
@rogercolque
@rogercolque 4 жыл бұрын
thks u save me minutes
@deepak10995
@deepak10995 4 жыл бұрын
really bro...i've been searching for this since 2 hrs...trying to remove the error...thanks alot bro
@hanmyzone
@hanmyzone 3 жыл бұрын
@@deepak10995 Thank you!
@youssefabdullah3187
@youssefabdullah3187 3 жыл бұрын
oh Thanks from 2021
@Loys2020
@Loys2020 2 жыл бұрын
Awesome video, bro! You go straight to the point. Very clean code and minimal code to deploy the application, it's a really good first video tutorial! Thank you a lot.
@LucasErkana
@LucasErkana 7 ай бұрын
Kyle your the GOAT. Absolutely amazing and well detailed.
@dotanmezushan6320
@dotanmezushan6320 2 жыл бұрын
At server.js I had to add if (process.env.NODE_ENV !== 'production') { require('dotenv').config(); } rather if (process.env.NODE_ENV !== 'production') { require('dotenv').load() } now I'm connected to mongoose and get "Connected to Mongoose" Thanks Kyle you are my best teacher !
@lfumeto2269
@lfumeto2269 2 жыл бұрын
@memmudmemmed3022
@memmudmemmed3022 4 ай бұрын
I know it's 2yrs late, but that worked for me
@johnobrienguitar
@johnobrienguitar 2 ай бұрын
thank you, this was very helpful
@aniruddha414
@aniruddha414 4 жыл бұрын
Thank you so much. I've been learning a lot throught your videos. Also the free options for hosting are a great bonus. Really appreciate all your content. Thank you again!
@shivanigaddagimath2143
@shivanigaddagimath2143 2 жыл бұрын
Hello Aniruddha! Are you a 2021-passout and looking for job opportunities in web development currently?
@marekbeck9012
@marekbeck9012 2 жыл бұрын
One of my favorite moments in the videos is when I spot an error and I'm waiting to see you get stuck and frustrated (like I always do), but then you casually fix it in 2 seconds :D
@dottorcosmic
@dottorcosmic 25 күн бұрын
Learned more with you in 5 mins than in a week with everyone else
@navdeeppaliwal3292
@navdeeppaliwal3292 4 жыл бұрын
Very straight forward tutorials nothing timepass must recommended.
@o1techacademy
@o1techacademy Жыл бұрын
Thank you very much Kyle. You tutorials keep making me a better developer.
@randolphschreiner4479
@randolphschreiner4479 3 жыл бұрын
Learned tons, still relevant, and operational in 2021.
@DavidCervantes.
@DavidCervantes. 4 жыл бұрын
Incredible course! Greetings from Argentina.
@baraal-jawarneh3852
@baraal-jawarneh3852 3 жыл бұрын
You have the best way to explain each step, keep going 💜
@sauravkumarsonu829
@sauravkumarsonu829 3 жыл бұрын
I have been a great fear about full stack development and you just made it's so easy 🙏🙏🙏
@shivanigaddagimath2143
@shivanigaddagimath2143 2 жыл бұрын
Hey Saurav! Are you a fresher in web development and open to job opportunities in full-stack development?
@aristotleanderson930
@aristotleanderson930 4 жыл бұрын
Ty for making web dev simple!
@angiedale3647
@angiedale3647 5 жыл бұрын
simply amazed of the simplicity and your explanation
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you! I am really glad I could help.
@CL-ki7se
@CL-ki7se 2 жыл бұрын
thanks big time man. really straightforward explaination and I actually learned something.
@vijayraghunathkm197
@vijayraghunathkm197 2 жыл бұрын
Following you for the past month.. wat a mannnnn you are.. HATS OFF
@shivanigaddagimath2143
@shivanigaddagimath2143 2 жыл бұрын
Hey Vijay! Are you a 2021-graduate? Would you be interested in exploring job opportunities in web development currently?
@stachowi
@stachowi 5 жыл бұрын
amazing tutorial, great job explaining the details. Just subbed!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thank you!
@Sammorris207
@Sammorris207 3 жыл бұрын
thanks kyle for these videos!
@rushabhnaik6806
@rushabhnaik6806 4 жыл бұрын
Too good man!!..Simply amazing Understood each and every step!
@shivanigaddagimath2143
@shivanigaddagimath2143 2 жыл бұрын
Hey Rushabh! Have you completed many tutorials in web dev such as this one? Are you a 2021-passout and open to job opportunities in web development currently?
@parasarora5869
@parasarora5869 5 жыл бұрын
amazing video. I really like how you define the production part. That really clears the confusion when it comes to deployment. Thank you very much 😃
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I'm glad you enjoyed it. I know when I was first learning web development the process of deployment and what to do for production really confused me, so I wanted to cover these topics at the very beginning of the project.
@parasarora5869
@parasarora5869 5 жыл бұрын
@@WebDevSimplified same problem i am facing but thanks to you i am more confident 😄
@Javascript1
@Javascript1 3 жыл бұрын
GENIUS!! thank for this video
@stevendornan7979
@stevendornan7979 4 жыл бұрын
Amazing tutorial, very clear at explaining things. I Just subbed!
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Thank you!
@robertpainter9820
@robertpainter9820 2 жыл бұрын
Thanks for this. Just followed this all the way through and it's still applicable bar a few small changes that were fairly easy to remedy. I see the require('dotenv').config() is in the comments already. The mongo db atlas set up has changed ... it asked for an IP address but you can put 0.0.0.0/0 and create a cluster. Then when you connect you get the "connect to app" box shown in the video from which you can grab the connection string.
@praff5308
@praff5308 4 жыл бұрын
Big fan of your content WDS :thumbsup: Keep it up!
@johnparungao1354
@johnparungao1354 4 жыл бұрын
First video watched, instant sub :D
@SR-we1vl
@SR-we1vl 3 жыл бұрын
Absolutely Great!
@shivanigaddagimath2143
@shivanigaddagimath2143 2 жыл бұрын
Hey Saurav! Are you a 2021-passout and open to job opportunities in web development currently?
@jamesboone4474
@jamesboone4474 3 жыл бұрын
for anyone doing this getting an error with "git push heroku master" "error: src refspec master does not match any error: failed to push some refs to" you need to change the command to "git push heroku main"
@theenlightened5786
@theenlightened5786 3 жыл бұрын
Thank you my friend.
@hootmx198
@hootmx198 3 жыл бұрын
^ This will fix it. Github changed the primary branch name from master to main recently so that is why.
@dwayneneckles
@dwayneneckles 3 жыл бұрын
Thank you James.
@kritmok1875
@kritmok1875 2 жыл бұрын
Thanks a lot!
@mys8091
@mys8091 2 жыл бұрын
OMG i love you
@tphantom581
@tphantom581 2 жыл бұрын
That's great Kyle!, Thank you! For those who gets error with 'dotenv' dependencies from heroku --tail. Try to move "dotenv" from "devDependencies" into "dependencies" in package.json.
@emilheg8673
@emilheg8673 Жыл бұрын
Thank you - This worked for me!
@brianmcgaw5275
@brianmcgaw5275 9 ай бұрын
Same! Thanks for the tip
@alaindimabuyo
@alaindimabuyo 5 жыл бұрын
these are the types of videos that i want to watch
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I'm glad you enjoyed it.
@mykalimba
@mykalimba 4 жыл бұрын
I just realized that you sound a bit like Jared in HBO's Silicon Valley, as if he took on the role of coding, like Dinesh and Gilfoyle. I can't unhear it!
@DevCops
@DevCops 5 жыл бұрын
Mann I just know one thing You're super Awesome!!!!!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks!
@MAALTECH
@MAALTECH 2 жыл бұрын
Got it working. had to add .config() as suggested but also had to grant the proper permissions on installation then received the generated URL from compass. Thank you. Ensure Proper Permissions if compass not generate code under local (left sidebar). Upate .env file DATABASE_URL= PATH_TO_MONGO_COMPASS_GENERATED_CODE.
@devrxt10
@devrxt10 4 жыл бұрын
Simply Great
@beedleChompz44
@beedleChompz44 3 жыл бұрын
supremely helpful
@resolutionAgha
@resolutionAgha 5 жыл бұрын
great and simple, thank you so much
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
You're welcome!
@anjofamini5697
@anjofamini5697 4 жыл бұрын
amazing! thanks men
@mahendrakergaurav7760
@mahendrakergaurav7760 Жыл бұрын
Thanks, you helped a lot
@balloney2175
@balloney2175 Жыл бұрын
I've done heroku years back then I forgot... wasted skill. Many thanks for your video. I envy your so cool hair.
@houssemkhi5036
@houssemkhi5036 4 жыл бұрын
very useful thank u so much dude
@efisirify
@efisirify Жыл бұрын
Hey Kyle. Thank you so much for this great tutorial. Is ejs is solving the same issues the font end framework (react, angular, etc) solve ? Do you have a full stack tutorial corporate node.js with react for the front? Thanks!
@ArmanKhan-bz7vu
@ArmanKhan-bz7vu 5 жыл бұрын
You're Best :)
@ebrahemluhar4999
@ebrahemluhar4999 5 жыл бұрын
Nice one!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks!
@dhruvikbarvaliya2507
@dhruvikbarvaliya2507 3 жыл бұрын
Very nice 👍👍
@brightfuture2174
@brightfuture2174 3 жыл бұрын
We need tutorial like this like water
@maskman4821
@maskman4821 5 жыл бұрын
awesome !!!
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
Thanks!
@aubz9924
@aubz9924 4 жыл бұрын
For those for whom the `require('dotenv').parse()` related error persists despite changing it to `require('dotenv').config()`, try deleting your .env file and creating it again - this worked for me.
@miralpankhania3983
@miralpankhania3983 4 жыл бұрын
It also worked for me!!!! Almost tried everything and at last tried this solution and it actually worked. Thank you so much. however i did not understand the reason.
@w0zz0r
@w0zz0r 4 жыл бұрын
Thank you so much! Do you know why this works?
@kaustubhdubey2809
@kaustubhdubey2809 2 жыл бұрын
Thanks man really appreciated it!!!!
@MHY-bu1hy
@MHY-bu1hy 4 ай бұрын
just a small note in this fantastic lecture! I think it is in Feb 2024 require('dotenv').config() instead of .load() or .parse() at timestamp 16:35
@yukinoshitayukino9185
@yukinoshitayukino9185 2 ай бұрын
tysm
@manishverma5261
@manishverma5261 2 жыл бұрын
Hello Kyle, please can you do a nodejs chat server for real-time chat. You explain things in such a easier way.... respect
@WrestlingTournamentsDotCom
@WrestlingTournamentsDotCom 4 жыл бұрын
I have been able to follow along with you, but I don't really understand it. Is this a good way to learn? Will it eventually start to make sense?
@Heading370
@Heading370 4 жыл бұрын
How can I do some exceptions for the ejs-layouts? To either use another layout file or to just render a html file?
@adarmaori9853
@adarmaori9853 3 жыл бұрын
Do you recommend using this folder as a boilerplate server for every website? I'm trying to think about why not but you'd probably know
@leg3ndtariq
@leg3ndtariq 4 жыл бұрын
I have a question, at 8:15 you are writing : 🔰 app.use('/', indexRouter ); what is this slash purpose here ? We already said in the index file in router folder that if any request comes from / folder then send "Hello world". 🔰 then why do we need to write again "/" in app.use method.. what is it actually doing here ?
@surfinbird71
@surfinbird71 4 жыл бұрын
Those last 3 minutes :O
@mmughal
@mmughal 5 жыл бұрын
Thank you for the videos what do you use to record your videos?
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
I use OBS to do the screen capture.
@fernandomontesnavarrete8826
@fernandomontesnavarrete8826 5 жыл бұрын
Thank you.
@WebDevSimplified
@WebDevSimplified 5 жыл бұрын
You're welcome!
@leeyahav4754
@leeyahav4754 3 жыл бұрын
you are amazing
@JoshuaWhitney
@JoshuaWhitney 4 жыл бұрын
Hey man this is an awesome video! Thank you! I seem to be having an issue with the express-layouts part. It won't render the main layout.ejs only the index.ejs. Going off the express layouts docs I even tried specifying a specific layout to use with no luck. My file structure and setup is identical to yours. Any ideas? I don't know what I'm missing.
@v.michaelangelopaster943
@v.michaelangelopaster943 3 жыл бұрын
I'm also having problem with this. Does any can solve this?
@lubkajarken3386
@lubkajarken3386 3 жыл бұрын
@@v.michaelangelopaster943 You need to download extension EJS language support
@tag_of_frank
@tag_of_frank 2 жыл бұрын
Can you explain why we use the body variable at 11:15 where is body variable defined in expressLayouts? Because if we are sending like json we would put the json variable name but body is not explicitly defined anywhere
@biblioteca.antarctica
@biblioteca.antarctica 4 жыл бұрын
I need this project but with MySQL.......can you help ?????
@Ulyzses
@Ulyzses 4 жыл бұрын
Might sound like a stupid question but how do you already have Github in the Explorer upon start up of VSC?
@NTY0101
@NTY0101 4 жыл бұрын
Your content and coding style looks like traversy media
@brecoldyls
@brecoldyls 4 жыл бұрын
These videos are awesome! I have one question though, my tags don't autoclose like yours seem to do. How did you get that to work? Thank you!
@electrotsmishar
@electrotsmishar 3 жыл бұрын
He used an extension in vscode called "EJS Language Support"
@mdzikrullah9575
@mdzikrullah9575 3 жыл бұрын
After pasting the password its still showing Application error for me..Please someone help me
@cj-lc4vk
@cj-lc4vk 3 жыл бұрын
Why does heroku still showing error even though i connected it to mongodb atlas? Please help
@mel7im19911
@mel7im19911 4 жыл бұрын
Would you please recommend a good resource to learn express and mangodb deeply like books,..
@liondeluxe3834
@liondeluxe3834 4 жыл бұрын
Am I the only one that feels like learning Node.js with the main modules feels like learning a new language
@danielxie4636
@danielxie4636 2 жыл бұрын
Why no need to configue the mongodb atlas now? after I push the main to heroku, everything works well for me, the app can be accessed with no errors?
@badass6300
@badass6300 2 жыл бұрын
Is there a similar channel but about C#? I'm primarily learning C#, but I had to learn JS as well, but I'm going back to C# soon and I was wondering as it would be great help.
@WrestlingTournamentsDotCom
@WrestlingTournamentsDotCom 4 жыл бұрын
Read the comments for help!
@leahj6214
@leahj6214 4 жыл бұрын
Enjoying this course so far--really helping to clear some things up for me. Just out of curiosity--is there a reason you're using EJS over Handlebars? I'm in a boot camp and they're teaching us Handlebars so I was just wondering the difference/why you picked that one. Thanks!
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
I choose EJS since I think it is most similar to HTML so it would be most familiar to people that have never used a templating language before. You can use whichever language you prefer.
@leahj6214
@leahj6214 4 жыл бұрын
@@WebDevSimplified Thanks for the clarification!
@Orenrs
@Orenrs 2 жыл бұрын
16:46 - Not getting the console log of "Connected to Mongoose" - any advice?
@isdamful
@isdamful 3 жыл бұрын
Hey man just curious you are not using any semicolons, how did you setup your environment for this?
@edgarasben
@edgarasben 4 жыл бұрын
How do you make so you have the project name in the terminal instead of project path?
@Will-le8yj
@Will-le8yj 2 жыл бұрын
23:04 "and thats all it takes" LOL he explained in 23 mins but i took 2 hours even with his tutorial lmfao
@Mila-andforwhat
@Mila-andforwhat 4 жыл бұрын
On minute 12:27, what combination of keys do you use to go back to bash?
@spectreross3693
@spectreross3693 4 жыл бұрын
bro you are so good. thanks for teaching us.
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
Thanks. I'm glad I could help.
@spectreross3693
@spectreross3693 4 жыл бұрын
@@WebDevSimplified im moving from laravel + mysql to node + mongo but im struggling with mongo because i dont know how to do relationships and joins.
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
@@spectreross3693 Mongo isn't really designed to do super intense relationships and joins. In this series we do cover how to setup a basic join relationship, but in general I prefer to use traditional relational databases such as MySQL when creating a project.
@spectreross3693
@spectreross3693 4 жыл бұрын
@@WebDevSimplified what is the best package for RDBMS? thank you. you explain things so well.
@WebDevSimplified
@WebDevSimplified 4 жыл бұрын
@@spectreross3693 Depends on what you are using. I would just do a google search since this stuff changes frequently.
@thegr8ron283
@thegr8ron283 2 жыл бұрын
19:15 Why isn't there a public and models folder pushed to Git hub? Thank you in advance. Your videos are great!
@goodwish1543
@goodwish1543 3 жыл бұрын
Thanks for teaching. Is the "MongoDB Atlas:" link a spam link?
@victoraul1
@victoraul1 2 жыл бұрын
Many thankyous for this video, interestingly my Heroku rendered the app page fine without having to connect to a database outside heroku, so I'm skipping the last minutes from the video, wonder if it happened to anyone else.
@raphaellaport8620
@raphaellaport8620 Жыл бұрын
Hello! In 11:23, how inside our index.js when we put the res.render(index) understand that its getting from views/layouts/layouts.ejs ?
@manishdixitsingh2628
@manishdixitsingh2628 4 жыл бұрын
When I've used the if() to connect the mongodb it says error
@ChimpDeamon
@ChimpDeamon 2 жыл бұрын
Hello Kyle, at 20:57 where in your video you refreshed the page and it showed an error when I refreshed my own site it displayed the content fine, (without me adding the DTABASE_URL value in the Heroku setting). I don't know why. Does anyone know how to explain?
@justepierre7330
@justepierre7330 2 жыл бұрын
Very good as usual, however, I don't like using things I don't understand. What problem does express-ejs-layout solve ? How would we do without it ? I looked for info but couldn't find anything. Basically, what problem does it solve ? If anyone has any knowledge on the subject...thanks.
@auxiliaryboxes
@auxiliaryboxes 3 жыл бұрын
Hi, my layout.ejs html boilerplate seems to generating tags around whatever text comes first in between the tags. This is causing unnecessary white spaces and annoying formatting problems on the rendered page. Any idea why this is happening? My layout.ejs looks exactly like yours.
Author's Index/Create/New Routes - Node.js/Express/MongoDB Course #2
34:17
Web Dev Simplified
Рет қаралды 110 М.
Why I'm Using Express Instead of NextJS
5:23
Josh tried coding
Рет қаралды 100 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 9 МЛН
Khóa ly biệt
01:00
Đào Nguyễn Ánh - Hữu Hưng
Рет қаралды 20 МЛН
World’s Deadliest Obstacle Course!
28:25
MrBeast
Рет қаралды 138 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:19
CRAZY GREAPA
Рет қаралды 23 МЛН
Node.js Project Structure and Architecture Best Practices
7:38
Software Developer Diaries
Рет қаралды 22 М.
What is REST?
3:24
Web Dev Simplified
Рет қаралды 227 М.
Front End Developer Roadmap 2024
12:09
freeCodeCamp.org
Рет қаралды 728 М.
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 188 М.
Learn Express JS In 35 Minutes
36:03
Web Dev Simplified
Рет қаралды 760 М.
The ARCH LINUX Experience
34:30
Bog
Рет қаралды 93 М.
Build Node.js User Authentication - Password Login
13:31
Web Dev Simplified
Рет қаралды 508 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 9 МЛН