App para reservas de vuelos
- PHP >= 8
- Composer >= 2
- MySql
- SQLite (for testing db)
- Nodejs >= 16 (frontend builds)
Database Diagram (Lucidchart)
Copy repository
git clone https://github.com/PedGarblue/vuelos.git
Install dependencies
composer install
Install node dependencies
npm install
Create .env file
cp .env.example .env
Generate key
php artisan key:generate
Create database and configure .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=[YOU DATABASE NAME]
DB_USERNAME=[YOU DATABASE USERNAME]
DB_PASSWORD=[YOU DATABASE PASSWORD]
Migrate database
php artisan migrate
php artisan db:seed
Run tests
php artisan test
Build frontend
npm run dev
Run server
php artisan serve