npm express 1

npm express

$ npm install express

Here is what the above code is Doing:
1. We’re importing the express module.
2. We’re creating an instance of the express module.
3. We’re creating a route for the root URL.
4. We’re telling the app to listen on port 3000.

Similar Posts