Giter Site home page Giter Site logo

mastermu2022 / flask_vue_web_management Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zhiyaoyuan/flask_vue_web_management

0.0 0.0 0.0 184 KB

基于Flask和Vue的前后端分离Web后台管理系统

Shell 0.30% JavaScript 24.85% Python 33.34% CSS 5.10% HTML 0.33% Vue 36.08%

flask_vue_web_management's Introduction

基于Flask和Vue的前后端分离Web后台管理系统

后端使用Flask提供HTTP API,前端则基于 vueAdmin-template 模板二次开发。

开发环境

  • Windows 10 x64
  • IDE:VSCode
  • Python 3.5.4
    • Flask==0.12.2
  • NodeJS v6.9.5
  • NPM 5.6.0

启动服务

后端

Windows PowerShell:

  1. 安装虚拟环境
PS > cd backend
PS > python3 -m venv .venv
(venv) PS > pip3 install -r requirements.txt
  1. 创建数据库和管理员
(venv) > python manage.py db_createfirst
drop the database?[y/n]: n
The database is created successfully!
Please Enter the superuser username:admin
Password:admin
Confirm password:admin
Superuser is created successfully!
  1. 启动服务器
(venv) > python manage.py runserver

更多内容参见 backend/ReadME.md

前端

Windows PowerShell:

cd frontend-admin

# 安装依赖包
npm install
# 建议不要用cnpm  安装有各种诡异的bug 可以通过如下操作解决npm速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 运行服务:localhost:9528
npm run dev

更多内容参见 fromtend-admin/ReadME.md

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.