Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ismatbabirli/laravel-graphql-example
Example Laravel and QraphQL API structure
https://github.com/ismatbabirli/laravel-graphql-example
Last synced: about 22 hours ago
JSON representation
Example Laravel and QraphQL API structure
- Host: GitHub
- URL: https://github.com/ismatbabirli/laravel-graphql-example
- Owner: ismatBabirli
- Created: 2019-02-20T11:37:42.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-20T11:46:43.000Z (almost 6 years ago)
- Last Synced: 2024-11-09T23:42:03.345Z (about 2 months ago)
- Language: PHP
- Size: 255 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel-GraphQL-api
API for a microblogging platform
## Getting Started
Clone the project repository by running the command below if you use SSH
```bash
[email protected]:ismatBabirli/Laravel-GraphQL-Example.git
```If you use https, use this instead
```bash
https://github.com/ismatBabirli/Laravel-GraphQL-Example.git
```After cloning,run:
```bash
composer install
```Duplicate `.env.example` and rename it `.env`
Then run:
```bash
php artisan key:generate
```### Prerequisites
Be sure to fill in your database details in your `.env` file before running the migrations:
```bash
php artisan migrate
```And finally, start the application:
```bash
php artisan serve
```and visit [http://localhost:8000/graphiql](http://localhost:8000/graphiql) to see the application in action.
## Built With
* [Laravel](https://laravel.com) - The PHP Framework For Web Artisans
* [GraphQL](https://graphql.org) - A query language for your API## Acknowledgments
* [Laravel-GraphQL-Example](https://github.com/ismatBabirli/Laravel-GraphQL-Example)