Giter VIP home page Giter VIP logo

webman-admin's Introduction

♨️ 众口难调,用爱发电。

license Build status webman-admin

基于 webman + vue3 + element-plus 的前后端分离解决方案。

🚀 特性

🔰 组件介绍

  • 用户管理

🚤 快速开始

数据库

新建数据库webman-admin,导入 sql 文件地址:db/webman-admin.sql

后端安装

# 克隆项目
git clone [email protected]:Tinywan/webman-admin.git

# 进入目录
cd webman-admin

# 安装依赖
composer install

# 启动项目(开发模式)
php start.php start

启动完成后浏览器访问 http://127.0.0.1:8888/

前端安装

# 进入web目录
cd web

# 安装依赖
npm i

# 启动项目(开发模式)
npm run serve

启动完成后浏览器访问 http://127.0.0.1:2800

使用 Docker 运行服务(可选)

如果你本地没有PHP环境或者PHP扩展不方便安装,则可以选择使用Docker

docker run --rm -it -p 8888:8888 -v d:/dnmp/www/webman-admin:/app tinywan/docker-php-webman

以上表示挂载项目 webman-admin数据卷到容器app。同时映射宿主机和容器端口 8888:8888

运行后如下所示

docker

Composer

移除阿里云镜像

composer config -g --unset repos.packagist

命令行

Make CURD

./webman make:curd api/manual

生成控制器和Model

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.