Installation
- Clone the repository
git clone https://github.com/vikas-ukani/Laravel8-With-GraphQL-APIs.git
-
Run composer install to install composer packages.
composer i
-
Create your .env file by copying the example provided in the repository
cp .env.example .env
-
Run
php artisan key:generate
to generate and set an application key to the.env.
file. -
Run
php artisan migrate
to run the migrations to the database.
🐋
Running with Docker - Clone the repository
git clone https://github.com/vikas-ukani/Laravel8-With-GraphQL-APIs.git
- Build the containers
docker-compose up -d
- Create your .env file by copying the example provided in the repository and create a laravel.log file into the container and set permissions
docker-compose exec php-lwg cp .env.example .env
docker-compose exec php-lwg touch storage/laravel.log
docker-compose exec php-lwg chown -R www-data:www-data /var/www/app/storage
- Finally create a valid artisan key
docker-compose exec php-lwg php artisan key:generate
Now you can migrations, seeders or any command with the containers.
Little About Laravel
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, powerful, and provides tools required for large, robust applications.
Contributing
Contributions, Developer Discussions, and Any Valuable Feedback are most welcome. Make your CONTRIBUTING.
Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.