Coder Social home page Coder Social logo

node-keyziio-agent-sample's Introduction

node-keyziio-agent-sample

Sample Node.js express web application which interfaces to the keyziio-agent library. It provides an interface to provision a client with a user key. Once it has the user key, the client can request keys from the keyziio web service for encryption.

This samnple does not authenticate the clients. Any real world applicaiton would first authenticate the client before handing out the user key. How this authentication is done is application specific.

Running the Sample

  1. Install Node.js and associated utilites (npm...)
  2. Download the code,and run npm install to install dependencies, including the Node.js keyziio agent.'
  3. Go to the keyziio server and generate an api token
  4. Edit the config.json file and update with your api token
  5. Run node app.js to start the server

###/user_keys/:id

Returns information for user with that id - no authentication is done for this sample. If the user doesn't exist, it will be created on the keyziio server with a generated friendly name.

node-keyziio-agent-sample's People

Contributors

dpitard avatar

Watchers

Russ Egan avatar James Cloos avatar  avatar  avatar Marc Seguin avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.