tintamarre / b2nh-api

Simple API for Natural Hazards

Home Page:http://b2nh-api.tintamarre.be

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

B2NH

Documentation of the API (Swagger OpenAPI)

Launch dev environment

  • Clone the repo ;
  • cd app
  • cp .env.example .env
  • vim .env and edit it to match your configuration
  • docker-compose up -d
  • docker-compose exec php php artisan migrate:fresh --seed
  • Open your browser http://127.0.0.1:9042

Tests

Tests are written within ./app/tests/ directory.

  • docker-compose exec php ./vendor/bin/phpunit

SQLite Schema

sqlite_schema

License

  • Licensed with GPLv3

About

Simple API for Natural Hazards

http://b2nh-api.tintamarre.be

License:GNU General Public License v3.0


Languages

Language:PHP 98.2%Language:HTML 1.5%Language:Shell 0.3%