An open API service indexing awesome lists of open source software.

https://github.com/smartenv-crs4/cmc-iot

CMC-IoT - an IoT platform based on CMC
https://github.com/smartenv-crs4/cmc-iot

api iot javascript nodejs

Last synced: 28 days ago
JSON representation

CMC-IoT - an IoT platform based on CMC

Awesome Lists containing this project

README

          

# CMC-IoT Microservice
CMC-IoT is the Internet of Things microservice of CMC (CRS4 Microservice Core) framework.
It is a general purpose IoT platform and middleware, developed as a custom service compliant with CMC specifications.

CMC-IoT supports a wide class of devices, since it implements an abstraction between the Things and the applications interacting with them. Therefore, it provides a uniform interface to Things, which can be native compatible (e.g. a sensor developed in-house) or need a specific driver or connector to be integrated in the platform.

For API reference, see the service auto-generated online documentation at http://service_base_url/doc.

## Usage

### Install

#### 1) Install Mocha (for testing):

sudo npm install -g mocha

#### 2) Install apiDoc (for API documentation):

sudo npm install -g apidoc

#### 3) Install all dependencies

npm install

### Run test suite

npm test

### Generate API documentation

apidoc -i ./routes -o apidoc

### Run the application

#### For *development* mode, run:

NODE_ENV=dev npm start

#### For *production* mode, run:

npm start