Created
October 27, 2018 06:43
-
-
Save ReactGirl/a5a8b5b4e2c66956d78f8fb3869940ad to your computer and use it in GitHub Desktop.
Revisions
-
ReactGirl created this gist
Oct 27, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ const express = require('express') const chalk = require('chalk') const app = express() app.all('*', (req, res) => { res.send(`<h1> welcome to my homepage </h1>`) }) app.listen(3000) console.log(chalk.cyan('sever started'));