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 trial

JavaScript

zabi kadamzadeh
zabi kadamzadeh
5,745 Points

I want to create a members area, what programming languages do I need to use to do this? Thanks

I'm currently working on a site but I want to create a members area. I'm not sure what languages will allow me to do this?

4 Answers

Kevin Korte
Kevin Korte
28,149 Points

Just about any language. This kind of functionality is not restricted to a certain language or two. You will need to look at some sort of way to authenticate your user, and that likely will require a server, but again, even javascript now will run on the server with the help of nodejs

zabi kadamzadeh
zabi kadamzadeh
5,745 Points

Thanks for your response Kevin. I'm planning on using JS only to achieve this.

zabi kadamzadeh
zabi kadamzadeh
5,745 Points

Will I need a JS node module for authentication? I've read online that Passport is best.

Angelica Hart Lindh
Angelica Hart Lindh
19,465 Points

Good 'ol Dave has a good course on user Auth with Treehouse btw

https://teamtreehouse.com/library/user-authentication-with-express-and-mongo

There are plenty to choose from on npm, good luck

zabi kadamzadeh
zabi kadamzadeh
5,745 Points

Brilliant! Thanks @Geoshepherds HB, that's exactly what I need!