Skip to content

From Zero to Hiring - Test project for technical job interview

License

Notifications You must be signed in to change notification settings

haxl00/frozerhing

Repository files navigation

FroZerHinG

Software License dotLock-badge phpVersion-badge psr1-compliant

About me!

FroZerHinG (From Zero to Hiring) is a CLI tool developed in PHP.
It get all transactions for a customer, based on it's ID.
They are converted to € if original currency is different.

Dependencies

FroZerHinG use

Installation

To install FroZerHinG, run the commands below

git clone https://github.com/haxl00/frozerhing.git
composer install

Rename .env.example to .env (root folder)

Running

By default, FroZerHinG list all commands available in the application
NOTE: If APP_ENV != "local", only custom commands are displayed in command list

php frozerhing

Main commands

transactionlist

Basic command

php frozerhing transactionlist {customerId}

Command help

php frozerhing help transactionlist

Test

FroZerHinG use "Pest" as testing framework, because it is build on top of PHPUnit but it is embedded in "Laravel Zero".
To run test, launch (in Windows or *nix environment)

vendor\bin\pest
./vendor/bin/pest

Disclaimer

Due to the purpose of this project, I have decided to use a micro-framework to provide a complete example of using third party software.
Reading and filtering of csv source is all "hand made" (voluntarily) to show how I solve complex problems via code.

Edited / Created files

*This is the list of edited / created files (including framework files)

About

From Zero to Hiring - Test project for technical job interview

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published