Skip to content

Prodev2017/Interval-System_Backend

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •