Laravel Metrics

this application is example how to using graphql and vue apollo in laravel

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

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 preview

Installing

A step by step series of examples that tell you how to get a development env running

  1. first clone this repo
  2. install laravel dependencies
composer install
  1. copy .env.example to .env and don't forget change your setting of database
  2. install vue dependencies
yarn
  1. execute migration script
php artisan migrate
php artisan db:seed
  1. execute compile js
npm run dev
  1. run application
php artisan serve
  1. 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

Running the tests

Explain how to run the automated tests for this system

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc