Skip to content

Latest commit

 

History

History
224 lines (147 loc) · 5.12 KB

README.md

File metadata and controls

224 lines (147 loc) · 5.12 KB

Yii2 Web Application

alt text

Yii2 Web Application is a Starter Project dedicated to the yii2 developer community which is equipped with features for fast application creation needs with extra security.

Link Demo :

Frontend : https://yii2-web-apps.000webhostapp.com/

Backend : https://yii2-web-apps.000webhostapp.com/backend

This project was built with :

AdminLTE 3 https://adminlte.io/docs/3.0

Yii2 Lastest Version https://www.yiiframework.com/doc/guide/2.0/en

Bootstrap 4 https://getbootstrap.com/docs/4.0/getting-started/introduction

Become an Open Source Collective contributor :

https://opencollective.com/yiisoft


alt text

Installation

Video : https://www.facebook.com/100009334052956/videos/953630405682056/

$ git clone https://github.com/adyoi/yii2-webapps.git webapps
$ cd webapps
$ cd system
$ chmod +x ./init
$ ./init
$ composer update

Create Directory Assets

 Default Directory Frontend /
 Default Directory Backend /backend

 # Change Directory Backend
 $ sudo ./chbackend.sh

$ sudo ./mkassets.sh

Configuration

  • import webapps.sql

  • /system/common/config/main-local.php

<?php
return [
    'components' => [
    
        'application' => [
            'class' => 'common\components\Application',
        ],
        
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=localhost;dbname=webapps',
            'username' => 'root',
            'password' => '',
            'charset' => 'utf8',
        ],
        
        'db2' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=localhost;dbname=webapps_table',
            'username' => 'root',
            'password' => '',
            'charset' => 'utf8',
        ],
        
        ...
        ...
        
    ],
];
  • /system/common/config/param-local.php
<?php
return [
    'bsVersion' => '4.x',
    'bsDependencyEnabled' => false,
    'upload' => '/images/upload/',
];
  • /system/common/config/main.php
<?php
return [
    // Language
    'language' => 'id_ID',
    // Timezone
    'timeZone' => 'Asia/Jakarta',
    
    ...
    ...
    
];
  • /backend/.htaccess
RewriteEngine on
# link generate to http://localhost/webapps/backend
RewriteBase /webapps/backend

...
...
  • Default Account
// User Access
username : root
password : root

// Demo Menu
username : menu
password : menu

// User 
username : admin
password : admin

username : user
password : user
  • Browser
Frontend : http://localhost/webapps/
Backend  : http://localhost/webapps/backend

Version 2.2


alt text

alt text

Version 2.1


alt text

alt text

alt text

Version 2.0


User Menu Level :

alt text

alt text

API Support :

alt text

alt text

Version 1.0


alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Support me :) 🍔🍟🍕🍱🥪🥑🥛💻


Logo Paypal

  1. PAYPAL

https://paypal.me/adyoi

Logo BCA

  1. BANK BCA (INDONESIA)

Account Number : 4740919909

Account Name : ADI APRIYANTO