From within your backend directory, run the terminal command npm init to initialize the project . You can use the default options, or change them as you wish — however, your entry point should be server. js , which you will create shortly. Create a server.