Skip to content

Commit c91d6fd

Browse files
authored
Added all the necessary files for editor
0 parents commit c91d6fd

File tree

6 files changed

+571
-0
lines changed

6 files changed

+571
-0
lines changed

app.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
var express = require('express')
2+
var app = express()
3+
4+
app.set('view engine','ejs')
5+
// TODO: add app.use() for css public directory
6+
app.use(express.static("public"))
7+
8+
app.get('/',function(req,res){
9+
res.render('editor')
10+
})
11+
12+
app.listen(5000,function(){
13+
console.log('SERVER STARTED RUNNING...')
14+
})

0 commit comments

Comments
 (0)