nnmer / tink-demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic bank account microservice test

The microservice based on Silex framework. Webserver setup manual is here.

Microservice provides limited API endpoints to fulfill the test requirements. As a DB the db.json file used. For the production environment that should be the real RDBMS.

Installation

composer install
bin/doctrine orm:schema-tool:create

Configuration

Default is a dev environment.

For the production environment set the environment variable as follows:

apache:

SetEnv APP_ENV dev

nginx:

fastcgi_param APP_ENV dev

Postman2 collection

Import the file

Run tests

    bin/doctrine dbal:import ./features/dbtink-test.sql ; bin/behat

About


Languages

Language:PHP 96.0%Language:Gherkin 4.0%