Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vikas-ukani/laravel-with-graphql

A Laravel 8 Project Implement with GraphQL With Sanctum APIs Authentications Which utilized in Any Frontend or Any Mobile Application Programs.
https://github.com/vikas-ukani/laravel-with-graphql

graphql graphql-api hacktobefest hacktoberfest-accepted hacktoberfest-accepted2021 hacktoberfest2021 laravel-framework sanctum

Last synced: about 1 month ago
JSON representation

A Laravel 8 Project Implement with GraphQL With Sanctum APIs Authentications Which utilized in Any Frontend or Any Mobile Application Programs.

Awesome Lists containing this project

README

        


Build Status
Total Downloads
Latest Stable Version
License

## Installation
1. Clone the repository
```
git clone https://github.com/vikas-ukani/Laravel8-With-GraphQL-APIs.git
```

2. Run composer install to install composer packages.
``` composer i ```

3. Create your .env file by copying the example provided in the repository
```
cp .env.example .env
```

4. Run `php artisan key:generate` to generate and set an application key to the `.env.` file.

5. Run `php artisan migrate` to run the migrations to the database.

## Running with Docker 🐋

1. Clone the repository
```
git clone https://github.com/vikas-ukani/Laravel8-With-GraphQL-APIs.git
```
2. Build the containers
```
docker-compose up -d
```
3. 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
```
4. 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](https://laravel.com/docs/routing).
- [Powerful dependency injection container](https://laravel.com/docs/container).
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/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](https://github.com/vikas-ukani/Laravel8-With-GraphQL-APIs/blob/main/CONTRIBUTING.md).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).