Node twitter is an effort to rewrite some of Twitter's functionality using modern javascript based toolchain. It was mostly an effort to learn Node.js and trying to reverse engineer some of twitter's feature.
You are required to have Node.js and MongoDB installed if you'd like to run the app locally.
Install sass and grunt too to compile the CSS files
sudo npm install -g grunt-cli
sudo npm install -g sass
The configuration is in config/config.js
. Please create your own
github application Github Developer Settings and replace the token and keys.
var path = require('path'),
rootPath = path.normalize(__dirname + '/..');
module.exports = {
production: {
db: '',
root: rootPath,
app: {
name: 'Node Twitter'
},
github: {
clientID: '',
clientSecret: '',
callbackURL: ''
}
}
};
# First install all the project dependencies.
~/node-twitter/ npm install
# Now run the app
~/node-twitter/ npm start
> node-twitter@1.1.0 start ~/node-twitter
> node server.js
Express app started on port 3000
If you enjoy node-twitter, you can support the development here. https://gratipay.com/vinitkme/. :)
Twitter is a registered trademark of Twitter Inc. This project is just for learning purposes and should be treated as such.