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
- Host: GitHub
- URL: https://github.com/smartenv-crs4/cmc-iot
- Owner: smartenv-crs4
- License: gpl-3.0
- Created: 2019-02-07T10:07:17.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-02-24T10:22:38.000Z (over 1 year ago)
- Last Synced: 2025-02-24T11:33:05.406Z (over 1 year ago)
- Topics: api, iot, javascript, nodejs
- Language: JavaScript
- Homepage:
- Size: 4.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.TXT
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