@matchmore/matchmore
v0.7.3
Published
A cloud service for creating highly dynamic, location-based applications
Readme
Matchmore Javascript SDK
MatchmoreSDK is a contextualized publish/subscribe model which can be used to model any geolocated or proximity based mobile application.
Usage
In a browser
Include dist/matchmore.js into your page and start by creating a Manager() instance. The Manager will allow you to create Users, Devices, Publications, Subscriptions, ...
In your project
- Use npm to include MatchMore
npm install @matchmore/matchmore --saveor
yarn add @matchmore/matchmore- Then import the library
import { Manager } from "matchmore";- And then start your application with minimum config
this.manager = new Manager(
"<Your api key>"
)Testing
To run the tests:
IMPORTANT
Please edit test/config.ts to add a valid API key before to use the tests
npm testCompilation
Install dependencies:
npm installTo compile the project:
npm run buildTo create a Standalone (using Browserify):
npm run browserifyCreate a (greatly) minified version
npm run minifyTesting
- Karma (test runner) https://karma-runner.github.io
- Mocha (framework) http://mochajs.org/
- Mocha-sbt (sbt integration) https://github.com/sbt/sbt-mocha
- Chai http://chaijs.com/
Coding
- TypeScript JS https://www.typescriptlang.org/
