Skip to content

padraic-edwards/photosharing-nodejs

 
 

Repository files navigation

Photonode

This project provides a sample application that leverages the IBM Connections Cloud APIs to create a social photo sharing experience. The application can be easily deployed to IBM Bluemix or it can be deployed on its own.

Deploy to Bluemix

Dependencies

A listing of the major components used in the application. Note that a number of these libraries require additional dependencies please refer to package.json and bower.json for a more comprehensive list.

Server and Package Management
Javascript and CSS Libraries
Node Modules

Installation

Prerequisite: Ensure you have the latest version of Node and Bower installed on your machine.

  1. Clone the github repository.
    git clone https://github.com/ibmcnxdev/photosharing-nodejs.git

  2. Move into the cloned directory. cd photosharing-nodejs

  3. Install Node modules via Node Package Manager. npm install

  4. Install Bower components.
    bower install

  5. Create new file named server.js for server credentials.
    touch config/server.js

  6. In server.js add the following code and pass credentials into the appropriate fields.

var server = {

callback: '',
clientSecret: '',
clientID: '',
domain: '',

};

exports.server = server;`

If running locally:

  1. Start app with Node.
    node bin/www

  2. App is now running! Direct browser to localhost.com:3000.

License

This code is licensed under Apache License v2.0. See the License.txt file in the root directory of this repository for more details.

About

A NodeJS based sample application that leverages the IBM Connections Cloud APIs to create a social photo sharing experience. This project can be deployed on IBM Bluemix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.5%
  • CSS 12.5%