
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
node-activities-boilerplate
Advanced tools
A Real-time boilerplate Activity Stream Engine with support for photo manipulations
Copyright (c) 2012 VMware, Inc
node-activities-boilerplate
is a fork of node-express-boilerplate which is a simple express boilerplate app which does SSO using Facebook
, Twitter
and GitHub
Instead of raw messaging back and forth between clients and server, node-activities-boilerplate
uses activitystrea.ms to send well structured messages(activities) and
aggregate them in an Activities MongoDB collection. It also uses Redis' PubSub to notify clients in real time of what changes are happening in the db and has client side logic to update the UI appropriately.
This functionality is delivered via the package activity-streams-mongoose
git clone https://github.com/mape/node-express-boilerplate <myproject>
cd <myproject>
npm install
clientjade
npm install -g clientjade
clientjade views/*.* > public/js/templates.js
node server.js
sudo gem install vmc --pre
Edit manifest.yml to have a unique name for your app. Replace "asms" with a name you want
Deploy the app to Cloud Foundry
vmc push --nostart
export APP_NAME=<your_name>
vmc env-add $APP_NAME airbrake_api_key=your_key
vmc env-add $APP_NAME github_client_id=github_id
vmc env-add $APP_NAME github_client_secret=github_secret
vmc env-add $APP_NAME facebook_app_id=fb_id
vmc env-add $APP_NAME facebook_app_secret=fb_secret
vmc env-add $APP_NAME NODE_ENV=production
vmc env-add $APP_NAME twitter_consumer_key=twitter_key
vmc env-add $APP_NAME twitter_consumer_secret=twitter_secret
vmc env-add $APP_NAME TMP=tmp
vmc start
Apache License
See LICENSE file for more details and node-express-boilerplate app License
FAQs
A Real-time boilerplate Activity Stream Engine with support for photo manipulations
We found that node-activities-boilerplate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.