r/node • • 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!

Post image
627 Upvotes

57 comments sorted by

36

u/[deleted] Aug 18 '19

you know your screenshot has your real name in it right

22

u/bwitdoc Aug 18 '19

oh well

25

u/Applesaucesome Aug 19 '19

I strongly recommend that you reconsider. Having a real name, post history info, and university name opens up a lot of doors for unsavory people to walk through.

3

u/bwitdoc Aug 19 '19

I appreciate the concern but there is so limited information aside from my name on Reddit. I don’t have a Facebook anymore but when I did, there was way more access to my personal information and day to day life. Thanks for looking out!

17

u/[deleted] Aug 18 '19

just making sure you knew!

6

u/lukepighetti Aug 19 '19

Wait, we're not supposed to use our real name on the internet?

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

u/[deleted] 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

u/[deleted] Aug 19 '19

What do you think about antd?

1

u/turbotailz Aug 19 '19

Can't say I've heard of it, sorry.

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

u/JeffLeafFan Aug 19 '19

My university just switched over to LinkedIn learning!!

5

u/[deleted] 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 nodemon

Now instead of doing node index.js to run your application, run nodemon 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 in package.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

u/[deleted] Aug 18 '19

Congratulations, never stop learning!

1

u/bwitdoc Aug 19 '19

I do use git!

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

u/deliciousmonster Aug 18 '19

Uh oh guys, they’ve reached the back end!

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

u/tenix Aug 18 '19

Do the complete nodejs course on udemy for $12

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 .gitignore when 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

u/[deleted] Aug 19 '19

[deleted]

1

u/YaBoyBrxan Aug 19 '19

To add on to this, not having node_modules on the repo won't break your project whenever you pull that code on another machine, that's what the package.json is for! It holds the data on your project and the dependencies needed, once the code is pulled on a new machine a simple npm i will 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

u/[deleted] 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

u/opensacks Aug 19 '19

ABC, Always Be Coding.

2

u/kwajicoffee Aug 18 '19

Yay! Congrats on the milestone!

1

u/bbenzo Aug 19 '19

Keep it going!

1

u/jkkill Aug 19 '19

Congrats!

1

u/SpokenMalarkey Aug 19 '19

This looks like something I would be interested in!

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

u/Haunting-Knowledge-9 Feb 09 '23

Class purchased. Looks like he hexplains the module system well

1

u/Jonathan2727 Aug 18 '19

Heck yeah! That feeling is legit the best. Keep it up!

1

u/animflynny2012 Aug 18 '19

It’s a great feeling when you reach that point!

1

u/rift95 Aug 18 '19

Well done dude!

1

u/HMvortex Aug 19 '19

nice job man, i got into it this year too, and i'm really enjoying it!

0

u/[deleted] Aug 18 '19

[deleted]

19

u/bwitdoc Aug 18 '19

Thanks! I’m excited :)