Interacting with Tron API.
- PHP version: >= 7.2.5
- Composer
-
git clone https://github.com/aleksandertabor/example-tron-api YOURPROJECTNAME
-
cd YOURPROJECTNAME
-
Install dependencies:
composer install
-
cp .env.example .env
-
php artisan key:generate
-
Set your
.env
with credentials to your database server (DB_*
settings) and your domain config (APP_URL
). -
php artisan migrate
-
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 generated with OpenAPI (Swagger) standard
Available on:
api-docs.json
JSON file that you can preview online on Swagger Editor
or
/api/documentation
endpoint on the running application locally
- Laravel 7