Last active
August 21, 2017 16:55
-
-
Save waldemarnt/b35fe7ab51ad3974f1eda1e02579761a to your computer and use it in GitHub Desktop.
std esm
This file contains hidden or 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
import Math from './math'; | |
import express from 'express'; | |
const app = express(); | |
app.get('/sum', function (req, res) { | |
res.send(`The sum is ${Math.sum(1,1)}`) | |
}); | |
app.listen(3000, function () { | |
console.log('Example app listening on port 3000!') | |
}); | |
export default app; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment