Most basic example of authenticating with Github in node.
Clone this gist, change keys inside config.js
and then hit npm install && node app.js
.
Secure sessions are easy, but it's not very well documented, so I'm changing that. | |
Here's a recipe for secure sessions in Node.js when NginX is used as an SSL proxy: | |
The desired configuration for using NginX as an SSL proxy is to offload SSL processing | |
and to put a hardened web server in front of your Node.js application, like: | |
[NODE.JS APP] <- HTTP -> [NginX] <- HTTPS -> [CLIENT] | |
To do this, here's what you need to do: |
import React from 'react'; | |
import Flickity from 'flickity'; | |
export default React.createClass({ | |
getInitialState() { | |
return { | |
selectedIndex: 0 | |
} | |
}, |
Fancy header example