Assessment Bugloos

The purpose of this test is to design a code that receives the output from a API and converts this response into another object.

Tech Stack

Installation and Usage:

  1. Install assessment-bugloos with git:
git clone https://github.com/gener0us/assessment-bugloos.git
  1. Switch to the repo folder
cd ./assessment-bugloos
  1. Install all the dependencies using composer
composer install
  1. Copy the example env file and make the required configuration changes in the .env file
  • windows:
scp .env.example .env
  • Linux and macOs:
cp .env.example .env
  1. Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
  1. generate application key via:
php artisan key:generate
  1. Start the local development server
php artisan serve

You can now access the server at http://127.0.0.1:8000

Note:

For change url api just change variable in .env

RESPONSE_API_SINGLE_URL="example.com"

and run this command:

php artisan config:cache

Authors

License

The MIT License (MIT).