Working with modern JavaScript and NodeJS
PyCharm has all its features and templates available in the Web Storm product, which is designed for working with modern JavaScript projects. Since I assume you are mostly interested in Python projects, I won’t spend a lot of time delving into the details of server-side JavaScript development since we will be covering the Python options, such as Flask, FastAPI, Pyramid, and Django, in the next few chapters.
However, you should know that if you have JavaScript projects and Python projects, there is no need to buy two separate products.
Creating a NodeJS project
To create a new Node JS project, just click File | New Project and select the NodeJS
project template. This is the equivalent of generating a project with the npm init -y
command. All you get is a generic package.json
file. It is pretty bare-bones, but it does save you the trouble of firing up a terminal and running the init
command.
In addition to a basic Node project...