baloise / pelan-api

API für die kommende Einsatzplanung des Helpdesks
Apache License 2.0
1 stars 0 forks source link
api jwt jwt-authentication php php7 rest-api restful-api

Pelan-API

Scrutinizer Code Quality Build Status

API for Pelan by Baloise.

This API is made for the Pelan-UI made by Erleiuat. The development of the UI was part of his final project (IPA, Individuelle Praktische Arbeit) at the near end of his apprenticeship @Baloise.

You can find the API-Docs here.

Check out the IPA-Docs (docs/IPA) to get a detailed documentation about Pelan.

Setup (Using XAMPP)

  1. Get and install XAMPP (with PHP 7.3+) from here.

  2. Clone this repo and move the files from /api into XAMPP's root/htdocs folder.

  3. Open XAMPP and start Apache and MySQL from the control panel.

  4. Go to phpMyAdmin (click Admin in the control panel).

  5. Go to Import and select the SQL-Dump at docs/sql/pelan.sql OR the one at docs/sql/demo/pelan_with_demodata.sql including some data for testing.

  6. Open localhost to see if everything is working.

  7. Get Postman or Pelan to make requests. You can find available endpoints at the Postman API-Docs.

Setup (Using Docker)

Comming soon