Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialdylan kane
2,772 PointsMaking social media sites with java script and Node Js, any tips?
I am going to make a social media site with java script and Node Js. I already know java script and I am about to learn node js. Does anyone have any tips for this? maybe previously made code... tips on programming certain aspects like profiles and such? any help would be great!
1 Answer
dylan kane
2,772 Pointsthanks so much, great answer. ill take all that into consideration!
alex gwartney
8,849 PointsYour welcome hope it gets you in the right direction.
alex gwartney
8,849 Pointsalex gwartney
8,849 PointsSo my advice is that depending on the type of social media sights you are trying to make there is going to be a bit more involved than just using node js and javascript. You will want to take a look at things like express js after you learn node js for the library. You will also want to learn about mongoose or use mongo db from scratch for the data base handling. You will also want to learn about using middle were such as express-sessions to store user data and for login auth if you want to do it from scratch. like have here https://github.com/gwartney21/Node_Js_User_Login or you can use a libary like pass port that handles several different versions of authentication. Also if you want to add in things like file uploading for users to post photos ect you will want to learn how to use the middle wear multer. I would say this really scratching the surface depending on what exactly you are looking to build but hopefully this gets you pointed in the right direction. Also if you add in chat applications check out socket.io