<p align="center"><img width="200" src="https://thesugagroup.com//storage/logo_hor.svg"></p>


# Main Service

Main Service with Auth module built-in


## Requirement

- Laravel 6
- PHP >= 7.2.5
- MariaDB 10.2.*


## Installation

- Clone project
- Go to the folder application using cd command on your cmd or terminal
- Run `composer install` on your cmd or terminal
- Copy `.env.example` file to `.env` on the root folder.
  You can type copy .env.example .env if using command prompt Windows
  or `cp .env.example .env` if using terminal, Ubuntu
- Open your `.env` file and change the database name (`DB_DATABASE`) to whatever you have,
  username (`DB_USERNAME`) and password (`DB_PASSWORD`) field correspond to your configuration.
- Run `php artisan key:generate`
- Run `php artisan migrate`
- Run `php artisan db:seed`
- Run `php artisan passport:install`
- Run `php artisan serve`
- Go to http://localhost:8000/


## Usage

Updating ...

## Utils

- Run `php artisan permission:autoload` to load permission list from Controllers file
  or `php artisan permission:autoload --fresh` to remove and reload permission list

## Changelog

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

