this application is example how to using graphql and vue apollo in laravel
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them
1. install nodejs
2. install graphiql -> https://electronjs.org/apps/graphiql
after install graphiql you can see structure graphql with url http://localhost:8000/graphql
A step by step series of examples that tell you how to get a development env running
- first clone this repo
- install laravel dependencies
composer install
- copy .env.example to .env and don't forget change your setting of database
- install vue dependencies
yarn
- execute migration script
php artisan migrate
php artisan db:seed
- execute compile js
npm run dev
- run application
php artisan serve
- login application
username: admin@gmail.com
password: secret
End with an example of getting some data out of the system or using it for a little demo
Explain how to run the automated tests for this system
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
- Ardani Rohman - ardani.github.io
This project is licensed under the MIT License - see the LICENSE.md file for details
- Hat tip to anyone whose code was used
- Inspiration
- etc