<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 5.6
- PHP 7.4.*
- MariaDB 10.4.* | MySQL 5.7


## 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.dev` file to `.env` on the root folder.
  You can type copy .env.example .env if using command prompt Windows
  or `cp .env.dev .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 module:seed SG`
- Run `php artisan storage:link`
- Run `php artisan serve`
- Go to http://127.0.0.1:8000 for website
- Go to http://127.0.0.1:8000/admin for dashboard (admin@gmail.com/123456)

## Changelog

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

