Skip to content

brainiac84/tidtilforsikring-test

Repository files navigation

Solution for TTF Assignment

Built on top of Laravel Lumen fast PHP micro-framework, just to speed up development by easing common tasks. Structure auto-generated by framework, consider reviewing only these files, see below, they're contain a main business logic.

  • /app/Library/BaseMapping.php
  • /app/Library/Specialized1Mapping.php
  • /app/Library/Specialized2Mapping.php

Simple RESTful routing definition over here /app/Http/routes.php.

Run locally

# In case if composer is not installed, just run
$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
# Install all dependencies
$ composer install
# Run all tests
$ vendor/bin/phpunit

Open /app/tests/MappingTest.php there you'll find coverage of all possible cases.

Please let me know, if something went wrong or my help would be required.

About

Just simple demo on top of laravel lumen

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published