Providing standard based text chat emergency communication services. The "big-picture" shows an overview of the DEC112 landscape and how text based emergency chats are routed based on their location.
This project implements the backend registration and configuration API services (RegAPI). These services are needed to register and configure DEC112 clients e.g. the DEC112 Android & IOS App so that they can then make text based emergency chats via SIP proxies and the DEC112 border gateway services.
The RegAPI developed during the
project was used as the basis to develop non overlapping functions for the following research projects:
Additional information, news and project status can be found on the DEC112 Homepage www.dec112.at.
To install ensure you have the following dependencies installed:
-
node.js: download and install node from https://nodejs.org/en/
-
If you install from distribution ZIP file:
- A zip unpacker
- Unzip the dec112-api-version.zip archive somewhere on your server
-
If you install from distribution GIT repository
- execute
git checkout
- execute
-
Change into the dist folder inside dec112-api root and enter
npm install --productionNote: This step is not needed if the distribution ZIP contains a
node_modulesfolder. -
Change/create configuration in
dist/config/envaccording to your needs -
Change
start_serverscript in root directory to match your configuration -
Install latest Postgresql database
-
The
installfolder contains scripts to setup the database:-
create_db.sh: creates a new DEC112 RegAPI database.NOTE: This script ALWAYS creates a new database - meaning it DELETES ANY PREVIOUS DATABASE !!!
-
The following link provide additional information about various aspects of the DEC112 RegAPI:
To start development ensure you have the following dependencies installed:
-
Install (node.js) and (npm)
- download and install node from https://nodejs.org/en/
-
Grunt command line utility (grunt-cli)
- install using
npm install -g grunt-cli
- install using
-
Type definitions
install using
npm install -g typings -
Bower
install using
npm install -g bower -
Visual Studio Code (vscode) or any other IDE Download and install from https://code.visualstudio.com/
Then clone the repository with git clone and inside the
dec112-api project root folder issue the following commands:
- To init the submodules (if any):
git submodule initgit submodule update
- To fetch all dependency modules:
npm install
- To install code information:
typings install
- Tp install client components:
bower install
- Open dec112-api folder with vscode and start coding
CTRL+SHIFT+Bin vscode builds project - or - to build project from command line entergrunt build- After build,
distfolder contains redistributable built project (also available as compressed archive inreleasesfolder)
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request
This software is a prototypically implementation of a lightweight, web based, integrated solution for handling deaf emergency communications in a text based chat. There is ABSOLUTELY NO GUARANTY that it works as expected! As emergency communication is critical, use this software at your own risk! The authors accept no liability for any incidents resulting from using this software!
This project is under modified GNU GPLv3. See file LICENSE in project folder.
COMMERCIAL USAGE PROHIBITED
