Git Product home page Git Product logo

laravel-react-seed's Introduction

在任何支持 Laravel 的运行环境上安装本项目开始使用

配置环境

安装 php 依赖

composer install

创建数据库

配置 .env 文件

cp .env.example .env

sudo vim .env

//然后按照实际情况配置

生成 laravel key

php artisan key:generate

执行迁移和Seeder

php artisan migrate --seed

访问

管理后台:

1. 路径 '/admin'
2. 需要登录,默认帐号:[email protected],默认密码:admin
3. 仅id=1的用户可以登录后台(权限管理实现范例,查看Super中间件)
4. 使用了 Antd 和 React Router4 搭建了一个简单范例

前台:

1. 路径 '/home'
2. 需要登录,默认帐号:[email protected],默认密码:admin
3. 包含了一个 React 的例子
4. 如果需要做移动端,可以使用 Antd Mobile

交流加QQ群:3113961

laravel-react-seed's People

Contributors

n1ghtjs avatar

Stargazers

 avatar

Watchers

 avatar

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.