Skip to content

Commit 7dce443

Browse files
committed
Init commit with Express JS
1 parent 57e6169 commit 7dce443

File tree

2 files changed

+23
-8
lines changed

2 files changed

+23
-8
lines changed

index.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/*
2+
* Copyright (C) SL2C Technology Team - All Rights Reserved
3+
*/
4+
5+
var express = require('express');
6+
const app = express();
7+
8+
app.get('/', function (req, res) {
9+
res.send('Hello World!')
10+
})
11+
12+
app.listen(3000, function () {
13+
console.log('Example app listening on port 3000!')
14+
})

package.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
{
22
"name": "yourfuture",
33
"version": "1.0.0",
4-
"description": "",
4+
"description": "Yourfuture is a search engine and a knowledge base for education and career in Sri Lanka",
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1",
88
"start": "node index.js"
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "git@github.com:madhawa-bandara/yourfuture.git"
12+
"url": "git+ssh://git@github.com/madhawa-bandara/yourfuture.git"
1313
},
1414
"keywords": [],
15-
"author": "",
16-
"license": "",
17-
"bugs": {
18-
},
19-
"homepage": "",
15+
"author": "SL2c Technology Team",
16+
"license": "ISC",
17+
"homepage": "https://github.com/madhawa-bandara/yourfuture#readme",
2018
"dependencies": {
21-
19+
"express": "^4.15.3"
20+
},
21+
"bugs": {
22+
"url": "https://github.com/madhawa-bandara/yourfuture/issues"
2223
}
2324
}

0 commit comments

Comments
 (0)