Skip to content

Instantly share code, notes, and snippets.

@kunxin-chor
Created June 19, 2023 07:25
Show Gist options
  • Save kunxin-chor/3e12606dd0ab4114936f596707bc6a8e to your computer and use it in GitHub Desktop.
Save kunxin-chor/3e12606dd0ab4114936f596707bc6a8e to your computer and use it in GitHub Desktop.
Starting template for Express
const express = require('express');
const ejs = require('ejs');
const app = express();
app.set('view engine', 'ejs');
app.get('/', function(req,res){
res.send("Hello World")
})
app.listen(3000, function(){
console.log("Server has started")
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment