The project is divided into three parts:
- Back-end 1: An api of users with address using Laravel located in
/back-end/laravel
; - Back-end 2: An api of users with address using Vanilla PHP located in
/back-end/vanilla-php
; - Front-end: An object-oriented stove located in
/front-end
.
- PHP (8.2.12)
- Laravel (10.48.7)
- PhpMyAdmin (5.2.1)
- MariaDB (10.4.32)
- Swagger (3.0.0)
- Composer (2.1.9)
- JavaScript (ES6)
It is recommended to run the Laravel project first due to migrations.
CREATE DATABASE mentes_notaveis;
# Cloning the repository and accessing the directory
git clone [email protected]:MatheusBonadio/mentes-notaveis-assessment.git && cd mentes-notaveis-assessment
# Accessing the back-end directory
cd back-end/laravel
# Installing dependencies
composer install
# Copying the .env.example file to .env
cp .env.example .env
# Generating the application key
php artisan key:generate
# Generating database migration and seeds
php artisan migrate:fresh --seed
# Running the application
php artisan serve
# Accessing the back-end directory
cd back-end/vanilla-php
# Installing dependencies
composer install
# Copying the config.example.php file to config.php
cp config.example.php config.php
# Accessing the front-end directory
cd front-end
# Open the index.html file with any browser 🚀
MIT © Matheus Bonadio