Created
December 8, 2019 11:06
-
-
Save fl3xice/0dffcd3c60aa2b03a6e0b6306621463d to your computer and use it in GitHub Desktop.
Server for front-end
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
let express = require('express'); | |
let app = express(); | |
let color = require('colors'); | |
app.use(express.static(__dirname + '/public')); | |
app.listen(9090, function () { | |
console.log('http://127.0.0.1:9090/'.green + ' Work'.yellow); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment