This is a small application for training on the GraphQL API protocol using laravel.
- PHP
- Laravel
- MySql
To get a local copy up and running follow these simple steps.
- install php 8 or above
- install apache2 ( or any local serve )
- install mysql
- install composer
- Clone the repo
git clone https://github.com/MUSTAFA-Hamzawy/GraphQL.git
- Make your own copy of the .env file
cp .env.example .env
DB_DATABASE= your db name here
DB_USERNAME= your db username
DB_PASSWORD= your password
- Run migrations to create the db
php artisan migrate
- Run seeders
php artisan db:seed
- Install dependecies
composer install
- Generate a key
php artisan key:generate
- Start Running
php artisan serve