Skip to content

hirenchhatbar/igitt-api

Repository files navigation

igitt logo

Igitt Api (beta)

igitt api is the demo project with igitt Laravel package

Installation

  • Clone repository
git clone https://github.com/hirenchhatbar/igitt-api.git
  • Clone iggit Laravel package
cd igitt-api
git clone https://github.com/hirenchhatbar/igitt.git packages/hirenchhatbar/igitt
  • Install PHP packages
php composer.phar install
  • Import MySQL database
-- Create database
CREATE DATABASE igitt;
# import database
mysql -uroot -p igitt < packages/hirenchhatbar/igitt/src/database/dump/igitt.sql
  • Setup MySQL connection
# .env

DB_CONNECTION=mysql
DB_HOST=172.28.0.50
DB_PORT=3306
DB_DATABASE=igitt
DB_USERNAME=root
DB_PASSWORD=root
DB_TABLE_PREFIX=igi_
  • Start application
php artisan serve