View style.css
body { | |
font-family: 'Lato'; | |
} |
View JIRA_API.txt
1. create basic authentication header : https://developer.atlassian.com/server/jira/platform/basic-authentication/ | |
by base 64 encoded string of username:password (your jira username and password) | |
2. Add authorization header to the request: | |
Authorization: Basic ZnJlZDpmcmVk | |
3. Content-Type: application/json |
View app.js
var express = require('express'); //create a new express app | |
var exphbs = require('express-handlebars'); | |
var router = express.Router(); //use express 4.0 router to define routes | |
var bodyParser = require('body-parser'); //pull information from html post | |
var cookieParser = require('cookie-parser'); | |
var http = require('http'); | |
var path = require('path'); | |
var winston = require('winston'); | |
var app = express(); |
View index.html
<!DOCTYPE html> | |
<html> | |
<style> | |
html, | |
body { | |
margin:0; | |
padding:0; | |
height:100%; | |
} | |
#container { |