CoinDesk Project

A GraphQL implementation of the CoinDesk laravel package in real use

Project's requirements

Ensure that you have:

  • PHP >=7.2
  • MYSQL
  • Laravel 5.8+
  • Composer installed in your machine

Dependencies

Setting up the project

  • Clone the project
  • Copy .env.exapmle to .env
  • Optional: Update .env with your database details
  • Install composer:
composer install
  • Bootstrap the application:
php artisan key:generate
php artisan jwt:secret
php artisan migrate
  • Start the server:
php artisan serve`
  • Have fun!

Live project

A live usage

Make a query of the form:

{
  calculatePrice(type: "buy", margin: 300, exchangeRate: 360)
}
{
  calculatePrice(type: "sell", margin: 0.2, exchangeRate: 362.50)
}

Contribute

Contributions are always welcome

License

Coindesk for Laravel is released under the MIT License. See the bundled LICENSE file for details.

Patreon

Reach out and support me on Patreon. All pledges will be dedicated to opensource projects.