Prodev2017 / Interval-System_Backend

Laravel, Angular 2, Jquery, Mysql, CSS, HTML5, API integration

Repository from Github https://github.comProdev2017/Interval-System_BackendRepository from Github https://github.comProdev2017/Interval-System_Backend

Dependencies

  • PHP(with curl) >= 5.6.4
  • libcurl >= 7.10.5
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • MySQL

API DOC

The located documentation for IPA:

/doc/index.html

Settings

Edit in file .env:

  • API URL:
APP_URL=http://interval.app
  • Database parameters:
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=interval
DB_USERNAME=homestead
DB_PASSWORD=secret
  • Exchange parameters with INTERVALS for the user with maximum permissions:
INTERVALS_ACCESS_TOKEN=access_token
INTERVALS_ACCESS_TOKEN=password
  • Mail parameters:
MAIL_ADDRESS=report@example.com
MAIL_DRIVER=mail_driver
MAIL_HOST=mail_host
MAIL_PORT=2525
MAIL_USERNAME=username
MAIL_PASSWORD=password
MAIL_ENCRYPTION=null

Add to CRON:

* * * * * php /path-to-your-project/artisan schedule:run >> /dev/null 2>&1

Deploying the project

composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
composer require guzzlehttp/guzzle

About

Laravel, Angular 2, Jquery, Mysql, CSS, HTML5, API integration


Languages

Language:PHP 57.8%Language:HTML 32.8%Language:TypeScript 8.9%Language:Vue 0.3%Language:ApacheConf 0.3%