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 trialJason Pallone
11,340 PointsCreating a login?
So as a aspiring developer I have TONS of questions, one that has been chipping away at me lately is this, to create a login, so someone can log in and view their profile and log out etc.. You need to use something like SQL/MONGODB right? Along with of course HTML/JavaScript/node/EXPRESS? As far as logging in and out I mean, you would need to store data on the server using those?
I don't expect someone to write out the code for me, but just help clear it up please and thanks :)
1 Answer
Aayush Mitra
24,904 PointsBasically, Node.js is a Javascript runtime for writing JavaScript on the server side. Express is a framework for making web apps. You are going to basically use express to add, search, update, and delete data on the database. It seems quite complicated in the beginning, but if you go through the last half of the Full Stack JavaScript Track, you will know all about these technologies. There is also even a course on User Authentication with Express. Hope this helps! Thanks :)
Jason Pallone
11,340 PointsJason Pallone
11,340 PointsThanks! That does help! So the database that holds the information, like people's login info, would be mongoDB for example, then express is what stores, retrieves, updates and deletes, the info from that database?
Aayush Mitra
24,904 PointsAayush Mitra
24,904 PointsYes