Skip to content

Instantly share code, notes, and snippets.

@ilkereroglu
Created April 28, 2016 22:05
Show Gist options
  • Save ilkereroglu/91f8bf0d84f611a2d8279b867c3b0a75 to your computer and use it in GitHub Desktop.
Save ilkereroglu/91f8bf0d84f611a2d8279b867c3b0a75 to your computer and use it in GitHub Desktop.
Kendi Slackbot'unu yazmak
var express = require('express');
var bodyParser = require('body-parser');
var app = express();
var port = process.env.PORT || 1666;
app.use(bodyParser.urlencoded({ extended: true }));
app.get('/', function (req, res) {
res.status(200).send('Çalışıyor...');
});
app.listen(port, function () {
console.log('Listening on port ' + port);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment