/example-tron-api

Interacting with Tron API. Built with Laravel.

Primary LanguagePHP

Example TRON API

Interacting with Tron API.

๐Ÿšฉ Table of Contents

  1. Requirements
  2. Installation
  3. Documentation
  4. Built with

๐Ÿ”Œ Requirements

  • PHP version: >= 7.2.5
  • Composer

๐Ÿงพ Installation

  1. git clone https://github.com/aleksandertabor/example-tron-api YOURPROJECTNAME

  2. cd YOURPROJECTNAME

  3. Install dependencies:

    composer install

  4. cp .env.example .env

  5. php artisan key:generate

  6. Set your .env with credentials to your database server (DB_* settings) and your domain config (APP_URL).

  7. php artisan migrate

  8. Run your server php artisan serve.

โš ๏ธ Caution: Remember about giving proper permissions to the project directory e.g.:

sudo chgrp -R www-data /var/www/YOURPROJECTNAME
sudo chmod -R 775 /var/www/YOURPROJECTNAME/storage

๐Ÿ“š Documentation

Documentation generated with OpenAPI (Swagger) standard

Available on:

or

  • /api/documentation endpoint on the running application locally

๐Ÿงฐ Built with

  • Laravel 7