Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

iopa-sample-chat

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iopa-sample-chat

A working chat application for the IOPA and NodeKit fabrics

latest
Source
npmnpm
Version
0.5.1
Version published
Maintainers
1
Created
Source

{NK} Chat Application for IOPA and {NK} NodeKit

Build Status IOPA NodeKit

NPM

Open Source Chat App

Running the application locally

The application uses Node.js and npm, so you must download and install them as part of the following steps.

  • Go to the project folder in a terminal and run the npm install command.
  • Start the application by running npm start.
  • Open http://localhost:3000 to see the running application.

About the Sample

The sample includes the lightweight IOPA fabric and includes

  • IOPA server to run on both Node and NodeKit without application changes
  • IOPA router to demonstrate URL routing
  • IOPA static to server up static files (e.g., css, js, etc.)
  • IOPA templates engine including handlebars for splitting a large single page view into multiple smaller components
  • IOPA connect to use vanilla Node HTTP transport

The sample is a fully fledged chat application using a Firebase back end. No other dependencies other than the IOPA stack which is installed automatically using npm.

  • No database or other transport engines, using Google Firebase for simplicity of demonstrating the sample
  • No front-end framework (like React, or Angular), just pure DOM JQuery, again just to demonstrate the sample
  • Handlebars used as the template engine, others could easily be sustituted

The application was written by OffGridNetworks to demonstrate ease of use in creating Node applications using the IOPA stack instead of Express, and to provide a high fidelity sample to encourage a high quality ecosystem for both IOPA servers and for {NK} NodeKit applications. It runs extremely well on NodeKit across OS X, iOS, Windows, Android and is responsive to different device sizes.

License

This code is licensed under Apache 2.0. Full license text is available in LICENSE.

This product includes software developed at

FAQs

Package last updated on 11 Mar 2016

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