/funacademy-test

Lumen test to apply the Backend Developer Position at Fun Academy

Primary LanguagePHP

Fun Academy Backend Developer Test

Requirements

The main objetive of the test was to design an API for a digital shop. This digital shop consisted of two different parts, one part related to the shop management and another part related to the customer interaction with the shop.

Full description here

Getting Started

Prerequisites

  • PHP >= 5.6.4
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Composer
  • Mysql

Installing

For installing the app. In a terminal window:

  1. Execute composer install in the provided source root directory to install the dependencies.
composer install
  1. Create a new database in Mysql.
  2. Rename .env.example file to .env and update the database variables.
  3. Migrate the database. Execute php artisan migrate in the root directory.
php artisan migrate
  1. Seed the database using php artisan db:seed command.
php artisan db:seed

How to test

A postman export file with all the required api requests was provided to facilitate the testing using this chrome extension. here

API

The full API documentation can be found here

License

This project is licensed under the MIT License - see the LICENSE.md file for details