8000 GitHub - DigitalHERMES/station-api: Web API for the hermes stations
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

DigitalHERMES/station-api

Repository files navigation

Hermes Project

Hermes - High-frequency Emergency and Rural Multimedia Exchange System.

Hermes station api

This is a REST api for use on Hermes stations to exchange messages between then, it uses Lumen PHP Framework and composer to manage its own dependencies.

Server Requirements:

  • web server
  • PHP >= 7.3
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • SQLite DataBase

to configure

  • Setup your settings creating a .env file from .env.example

  • Setup public folders inbox / outbox to uucp public

  • set enebled in php.ini extension=pdo_sqlite extension=mbstring extension=odbc extension=openssl

  • Run: composer install

  • create database.sqlite file in database folder

  • To start a fresh database: php artisan migrate:refresh --seed

Running on port 8000:

❯ php -S localhost:8000 -t public

Hermes Message Pack

is a tar gziped file named .hmp

storage local file structure paths (storage/app/)

uploads (Files of outgoing messages) downloads (Files gener 6D5D ated from the inbox received messages) inbox (incoming hermes message packs) outbox (hermes message pack for deliver) tmp (tmp files)

About

Web API for the hermes stations

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0