Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

collective-upload

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collective-upload

Simple proof-of-concept application that can upload assets to the Widen Media Collective

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

collective-upload

Simple proof-of-concept application that can upload assets to Widen Media Collective using the node-collective client to the Media Collective REST API.

Getting Started

  • First, ensure you have set up proper OAuth credentials with Collective.

  • Second, set the proper environment variables based on the credentials you got from the previous step:

export COLLECTIVE_CLIENT_ID=foo
export COLLECTIVE_CLIENT_SECRET=bar
  • Third, you may want to edit the default node-collective options in the sources (e.g., protocol, port, and host -- auth is probably ok).
var collective_options = {
    protocol: 'http',
    port: 8080,
    host: 'localhost',
    # I have a simple service to get
    # auth token from a cookie in
    # the code already, so don't
    # change that.

};

  • Fourth, run the server:
npm run dev

OR

npm run start -- <OPTIONS>

Where <OPTIONS> is the options needed to connect to your Collective instance. (optional -- defaults to local development url)

  • Fifth, open your browser:
http://localhost:1337

FAQs

Package last updated on 26 May 2015

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc