r/node • u/bwitdoc • Aug 18 '19
Still learning the basics of Node but today I hosted a webpage on a server I created and that was a really awesome and fun experience!
15
u/stayclassytally Aug 18 '19
Congrats ! That’s a great feeling and a great milestone to cross.
12
u/bwitdoc Aug 18 '19
Thank you! I’m still struggling with learning how to use frameworks, specifically bootstrap. Do you know of any sites or videos I can watch to help me learn?
2
u/nomas1609 Aug 19 '19
Bootstrap has its own documentation that is really well put together in itself.
Once you play with it a little on your own you’ll see how simple yet powerful it is.
I couldn’t grasp BS until I just started playing around with it. Get a course that focuses only on bootstrap or a large portion of it and you’ll enjoy it.
Bootstrap now has flexbox included with it so you’ll probably enjoy it even more and won’t have to deal with a lot of the alignment “hacks” that were needed to accomplish basic things not too long ago.
Good luck
1
u/bwitdoc Aug 19 '19
Thank you! My teacher intentionally left our bootstrap as part of our course but suggested we learn it ourselves so I’m trying!
8
u/TenKDays Aug 18 '19
Udemy.com has all you need! The courses cost money, but it’s great value if you find the right ones.
4
u/IggyWiggamama Aug 18 '19
I'd add to the that there's a sub on here called udemy freebies where people share lots of free courses. They can be a bit hit and miss but there can be some good courses for free on there, especially wed dev/design ones.
4
Aug 18 '19
Bootstrap's official website has awesome documentation for everything you could really need! In fact, I still use it sometimes for Navbars and I've been using Bootstrap since Bootstrap 2.
Just as a little thing if you ever get tired of Bootstrap's aesthetic, you should try out Semantic UI sometime. Not trying to promote anything but I love it's default styles and it has built in CSS animations included (i.e; JS not needed for them).
1
u/Silveress_Golden Aug 19 '19
Thanks for the info on Semantic, I am trying to move away from bootstrap as what it creates (in my hands) is too utilitarian even for me
1
u/RedditingOnWorkTime Aug 19 '19
I recommend avoiding css frameworks and sticking with vanilla css/sass. Frameworks can be nice, but I have found a lot of front end devs use them as a crutch. Focus on flexbox/grid instead.
1
u/bwitdoc Aug 19 '19
My professor suggested we learn them, but also said we can create the files ourselves. He just wants us to have the experience of using frameworks for our professional portfolio.
4
u/RobbyB97 Aug 18 '19
Hold up.... You're using node yet you find Bootstrap specifically to be difficult? I got a 15 minute explanation of it and pretty much understood most of it, yet node took like a hundred hours for me to do anything useful with. That's extremely weird. Probably better to think like you though, there's more money in the back end.
Edit: Maybe my head is just up my ass though, as far as I know there's the 2 containers, the cols, the rows, the spans and the offsets. Maybe that's just a tiny portion of Bootstrap and I'm unaware of the rest.
1
u/Skylarity Aug 18 '19
Oh man I highly recommend looking into Bootstrap's utility classes, so much useful stuff there!
2
u/turbotailz Aug 18 '19
Here's a tip, don't use bootstrap, find another css framework that is less bloated and overused. There are tons of them and they all do the same job.
1
1
u/WADE_BOGGS_CHAMP Aug 18 '19
A lot of libraries and universities have subscriptions to Lynda.com / linkedinlearning that you can access thru your library card or student ID.
1
5
Aug 19 '19
Don't forget to use nodemon to make your development easier.
3
u/bwitdoc Aug 19 '19
I don’t know what that is but I will look into it! I like things to be simple
5
u/folkrav Aug 19 '19
Basically, in your node project:
npm install --save-dev nodemonNow instead of doing
node index.jsto run your application, runnodemon index.js. Tweak with your own main file path, of course. If you run a npm script (npm run xxxx) to run your app instead of running node yourself, change the relevant script inpackage.json.
3
u/bwitdoc Aug 18 '19
Thanks for all the tips everyone! I only know what I’m being taught and I’m not interested yet in paying for classes/lessons but I will in the future!
63
1
5
u/JonnyBoy89 Aug 18 '19
As others have said. Never stop learning. The greatest thing about development for me has been that the feeling of not knowing all the things and constantly learning is consistent.
7
1
u/readmeii Aug 18 '19
Could you please share which website/tutorial you followed? Thanks!
2
u/bwitdoc Aug 18 '19
I’m actually in school for it and it was an assignment. I might be able to share the instructions with you! PM me!
2
u/RobbyB97 Aug 18 '19
https://www.udemy.com/courses/search/?q=andrew%20mead&src=sac&kw=andrew%20mead Here you go! node.js and react.js courses are superb, give THOROUGH explanations on the basics with assignments that are appropriately challenging and also tips on reading documentation so you can have an easier time learning on your own. You also get some good projects out of them that you can build upon. 11/10 would recommend (Disclaimer I'm not Andrew Mead and I don't know him)
2
1
u/brianjenkins94 Aug 19 '19
Time for a code review! 😈
1
u/bwitdoc Aug 19 '19
Please critique my code!! I’ve been learning JavaScript recently and have lacked on HTML and CSS the last couple months so now I’m integrating the two.
1
u/brianjenkins94 Aug 19 '19
Is it on GitHub?
If you don't know how to use Git, I'd suggest just using GitHub Desktop to start.
Make a repository on https://github.com/, clone it using Desktop, copy all your files into the repository folder and make a commit.
Like somebody else said, make sure you choose the Node
.gitignorewhen you're creating your repository otherwise your commit history will be useless -- or worse, people will make fun of you.
1
u/Alexwithx Aug 19 '19
Congrats and good job
P.S. remember to gitignore node_modules
2
u/bwitdoc Aug 19 '19
Does that make it so it doesn’t upload to github? Sorry if that’s a dumb question...
0
Aug 19 '19
[deleted]
1
u/YaBoyBrxan Aug 19 '19
To add on to this, not having
node_moduleson the repo won't break your project whenever you pull that code on another machine, that's what thepackage.jsonis for! It holds the data on your project and the dependencies needed, once the code is pulled on a new machine a simplenpm iwill get you running again!2
u/bwitdoc Aug 19 '19
Ok cool! I’ve just been removing it from the added files but gitignore seems better.
1
Aug 19 '19
Amazing work. Node can be confusing at first but you're clearly getting to the point where you understand enough of the basics to pick up stuff at a nice steady rate from here on.
If I had some advice, it would be to let you brain have time to chew through the stuff your learning. So many times I have been struggling with a new concept only to come back the next day and feel like I understand it much better.
Once you start learning react or angular you tend to naturally stop using bootstrap etc; flex and scoped CSS seem to make it feel unnecessary.
1
u/bwitdoc Aug 19 '19
Yeah I learn angular in my next set of classes! And I did notice it takes a couple days for me to feel confident with the information I’m learning.
2
2
1
1
1
1
u/Haunting-Knowledge-9 Feb 09 '23
I started 5 years ago doing vie then node pretty hardcore that dang import Edmonton module stuff I just can’t get it….
1
1
1
1
1
0
36
u/[deleted] Aug 18 '19
you know your screenshot has your real name in it right