Giter VIP home page Giter VIP logo

poetryclub-backend's Introduction

Intro

诗词小筑的网站后台页面与后端代码,基于laravel+vue.js

诗词小筑的前台页面

技术栈

laravel5.4 + passport + vue2 + element-ui + axios + stylus

How To Use

git clone https://github.com/DragonFlyXD/poetryclub-backend

cd poetryclub-backend

composer install 

php artisan migration

chmod -R 777 storage

/**
 * 将生成的 ID 和 Secret 添加进 .env 文件中
 * 如:
 * PASSWORD_CLIENT_ID=3
 * PASSWORD_CLIENT_SECRET=OdIzVLnICs7dXYz3QEe9xeo1ITr2ugpdrwR1xvGb
 **/
php artisan passport:client --passport
  • 配置连接数据库信息,默认采用mysql

    # .env
    
    DB_DATABASE=your_database
    DB_USERNAME=your_username
    DB_PASSWORD=your_password
    
  • 配置邮件发送信息,采用sendclound

    # .env
    
    MAIL_FROM_ADDRESS=your_address // 如:[email protected]
    MAIL_FROM_NAME=your_name // 如:诗词小筑
    SEND_CLOUD_USER=your_user
    SEND_CLOUD_KEY=your_key
    
  • 配置搜索功能信息,采用algolia

    # .env
    
    ALGOLIA_APP_ID=your_id
    ALGOLIA_SECRET=your_secret
    
  • 配置图片存储功能信息,采用七牛云

    # .env
    
    QINIU_ACCESS_KEY=your_access_key
    QINIU_SECRET_KEY=your_secret_key
    QINIU_BUCKET=your_bucket
    QINIU_DOMAIN=your_domain
    

Screenshot

poetryclub-backend's People

Contributors

dragonflyxd avatar xushaobo avatar

Watchers

James Cloos 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.