mmierzwa / online-duty-api

On-line duty API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online duty API service

Configuration

Legacy online duty schedule file

  • config\services.yaml
    • parameters
      • api.schedule_file_path - set the relative/absolute file path or URL (must be accessible for the service)

Development

Requirements

  • PHP 7.4+
  • Composer 2.0.0+

Local configuration

After cloning the repository install packages:

composer install

or for production build:

./script/build

To run server locally:

./script/server

To run tests:

./script/test

To run code checks and dependencies security scan:

./script/lint

API

The API is documented in a form of Swagger/OpenAPI specification.

Planned

  • Add support for other data sources
  • Implement JS client for the API (types, API calls)
  • Introduce docker images for better local development and CI experience
  • Add CI code (with running tests at minimum)

License

The project is licensed on MIT license. For details check the license file.

About

On-line duty API

License:MIT License


Languages

Language:PHP 92.7%Language:Shell 7.3%