Last active
March 3, 2017 04:08
-
-
Save harshulj/0a07ab77e466ee1ca04db66a07707f31 to your computer and use it in GitHub Desktop.
Installing Express.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Create a directory to hold the application. Lets call the application rail | |
| $ mkdir rail | |
| $ cd rail | |
| # Now we’ll initialise a npm project. Use the following command for initialising. This command will create package.json file in the directory which will hold information about rail package and its dependency and meta data. | |
| $ npm init | |
| # Next task is to install express for this project. Don’t forget to use — save which adds Express as a dependency in package.json. | |
| $ npm install express — save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment