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

Mayur Pande
PLUS
Mayur Pande
Courses Plus Student 11,711 Points

Where to store node.js and js projects in linux environment

I am currently learning the full-stack javascript course and am wandering if there is any specific folder as to where I should store my my js projects and node.js projects.

For example, I have a linux virtual machine, and have LAMP installed and this created the directory /var/www/html where I store all my PHP projects.

Now I know that I don't need something like this for my JavaScript projects. But I thought it would be nice to keep them separate from /var/www/html directory. So when I do get on to learning the node.js stuff all the JavaScript and node.js projects are in one place.

Does anyone have any preferences they use?

(I have installed node.js using nvm)

Mod Edit: We've moved your post over to the JavaScript section of the community.