-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
web: node app.js |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
var express = require('express'); | ||
var app = express(); | ||
|
||
app.set('port', (process.env.PORT || 5000)); | ||
app.use(express.static(__dirname + '/public')); | ||
|
||
app.get('/', function(request, response) { | ||
response.send('Hello World!'); | ||
}); | ||
|
||
app.listen(app.get('port'), function() { | ||
console.log("Node app is running at localhost:" + app.get('port')); | ||
}); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"name": "PaperBadger", | ||
"description": "Exploring the use of digital badges for crediting contributors to scholarly papers for their work", | ||
"repository": "https://github.com/mozillascience/PaperBadger", | ||
"logo": "", | ||
"keywords": ["badges", "science", "node"] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "PaperBadger", | ||
"version": "0.1.1", | ||
"description": "Exploring the use of digital badges for crediting contributors to scholarly papers for their work", | ||
"main": "app.js", | ||
"scripts": { | ||
"start": "node app.js" | ||
}, | ||
"dependencies": { | ||
"express": "~4.9.x", | ||
"badgekit-api-client": "https://github.com/mozilla/badgekit-api-client/tarball/v0.2.4" | ||
}, | ||
"engines": { | ||
"node": "0.12.2" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mozillascience/PaperBadger" | ||
}, | ||
"keywords": [ | ||
"badges", | ||
"science", | ||
"node" | ||
], | ||
"license": "MPL-2.0" | ||
} |
File renamed without changes