Showing
4 changed files
with
33 additions
and
0 deletions
.gitignore
0 → 100644
| 1 | +node_modules | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
app.js
0 → 100644
| 1 | +var express = require('express'); | ||
| 2 | +var app = express(); | ||
| 3 | +app.get('/', function (req, res) { | ||
| 4 | + res.send('Hello World'); | ||
| 5 | +}) | ||
| 6 | + | ||
| 7 | +var server = app.listen(23023, function () { | ||
| 8 | + var host = server.address().address | ||
| 9 | + var port = server.address().port | ||
| 10 | + console.log("Example app listening at http://%s:%s", host, port) | ||
| 11 | +}) |
package-lock.json
0 → 100644
This diff is collapsed. Click to expand it.
package.json
0 → 100644
| 1 | +{ | ||
| 2 | + "name": "oss-project", | ||
| 3 | + "version": "1.0.0", | ||
| 4 | + "description": "KindOfYourDog", | ||
| 5 | + "main": "app.js", | ||
| 6 | + "dependencies": { | ||
| 7 | + "aws-sdk": "^2.689.0", | ||
| 8 | + "express": "^4.17.1" | ||
| 9 | + }, | ||
| 10 | + "devDependencies": {}, | ||
| 11 | + "scripts": { | ||
| 12 | + "test": "echo \"Error: no test specified\" && exit 1", | ||
| 13 | + "start":"node app.js" | ||
| 14 | + }, | ||
| 15 | + "repository": { | ||
| 16 | + "type": "git", | ||
| 17 | + "url": "ssh://git@khuhub.khu.ac.kr:12959/2016101156/OSS-Project.git" | ||
| 18 | + }, | ||
| 19 | + "author": "", | ||
| 20 | + "license": "ISC" | ||
| 21 | +} |
-
Please register or login to post a comment