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.
- Mysql Database
- Laravel framework
- Nwidart - Laravel Modules
- Install assessment-bugloos with git:
git clone https://github.com/gener0us/assessment-bugloos.git
- Switch to the repo folder
cd ./assessment-bugloos
- Install all the dependencies using composer
composer install
- 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
- Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
- generate application key via:
php artisan key:generate
- Start the local development server
php artisan serve
You can now access the server at http://127.0.0.1:8000
For change url api just change variable in .env
RESPONSE_API_SINGLE_URL="example.com"
and run this command:
php artisan config:cache