highjump0615 / ModuleAdmin

Admin pages & REST apis for module management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Module Admin Backend - Laravel

Admin pages & REST apis for module management

Overview

1. Main Features

  • Module management
    Moudle list, Add, Modify, Delete, ...
  • App version management
    Version list, Add, Modify, Delete, ...

2. Docker containers

Has its own docker container for web server and Mysql database, so that anyone can develop and deploy easily with docker.

2.1 Webserver

  • Based on php:7.1-apache docker image
  • Php Extensions
    pdo, pdo_mysql, gd, curl, mbstring, xml, tokenizer, zip, PECL
  • XDEBUG for php debug
    • zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so
    • xdebug.remote_port=9000
    • xdebug.idekey=PHPSTORM

2.2 Mysql server

3. Techniques

3.1 Admin & RESTful Api (Laravel PHP Framework v5.3.31)

  • Maintains web page & api routing through web.php and api.php respectively
    • auth middleware and Auth are used to implement user authentication
  • Maintains database through migration
  • Used Error Bags for showing errors
    • Showing errors in log in page
    • Keep original input paramenters using old() helper function
    • request() helper function in blade view

3.2 Admin pages

Implemented admin web pages based on Inspinia theme

Need to Improve

  • Protect download data with authentication
  • Improve features

About

Admin pages & REST apis for module management


Languages

Language:PHP 64.4%Language:HTML 26.6%Language:JavaScript 8.6%Language:Vue 0.4%