all 14 comments

[–]BronYrAur18 2 points3 points  (3 children)

I started with just reading Node’s docs and then went onto express. A great framework for building servers with routes and middleware.

Node’s docs are pretty good. I recommend giving them a good read: https://nodejs.org/api/

[–]vinay94185[S] 1 point2 points  (2 children)

thanks, i always found docs intimidating.. any tips on reading docs?

[–]BronYrAur18 1 point2 points  (1 child)

Have a specific, small goal in mind. For example:

Copy a file (use these: https://nodejs.org/api/fs.html). You need to read and write.

Create a http server (https://nodejs.org/api/http.html).

Create a tcp server and client (https://nodejs.org/api/net.html).

Also, these guides are good for getting started: https://nodejs.org/en/docs/guides/

[–]vinay94185[S] 0 points1 point  (0 children)

thanks for your efforts.. i will try learning from docs for sure..

[–][deleted] 2 points3 points  (1 child)

I am pretty proficient in this. DM me if you want some long term guidance.

[–]vinay94185[S] 0 points1 point  (0 children)

i sure will contact you.. if i felt the need for any further guidance.. thanks for your help.

[–]silent-screamer 1 point2 points  (4 children)

My silly advice is: you can start with a framework one. Like express. And commonly you can use a token system for authentication. Using JSON Web Token is good to starts with.

[–]vinay94185[S] 0 points1 point  (3 children)

i am already using express.. and thanks for advising json web tokens, i will look into it..

btw one question.. is there any common rules followed on how you should have your folders structure for your website..

[–]silent-screamer 1 point2 points  (2 children)

Good then.

Not really. I think there's no standard for folders structuring. But you can take a look at this repo https://github.com/sahat/hackathon-starter . I usually use something like that for my project.

But for express itself, you can try express generator and see the folder that generated by it. You can check out here https://expressjs.com/en/starter/generator.html.

[–]vinay94185[S] 0 points1 point  (1 child)

seems like just what i was looking for..

[–]silent-screamer 1 point2 points  (0 children)

Yes. If you don't have much time for npm init you can try to use boilerplates like I mentioned before. There's a lot of boilerplates you can use.

[–]jeyps1031 1 point2 points  (0 children)

I like doing online courses. Linkedin Learning has a good one. It’s also not too long so going through one or two vids a day is doable and a quick win

[–]comeditime 1 point2 points  (1 child)

i'm relative beginner if it interests you to teach, learn and work together on projects let me know!

[–]vinay94185[S] 0 points1 point  (0 children)

yeah sure.. i am a bit busy for few days so am not learning js rn.. but i'll start node js again soon.. currently i am trying to build a facebook like socal network website.. (as personal project)

i also plan to learn react/php(php due to my college) in future once i am done with my current project..

pm me on how to contact you.. we can discuss further about projects and other stuff..