Giter Site home page Giter Site logo

kivvi3412 / python_food Goto Github PK

View Code? Open in Web Editor NEW

This project forked from geeeeeeeek/python_food

0.0 0.0 0.0 12.2 MB

python外卖点餐系统,python+django+vue开发的外卖点餐网站

JavaScript 1.32% Python 15.74% TypeScript 12.85% HTML 0.15% Vue 69.84% Less 0.11%

python_food's Introduction

学习过程中,如遇问题可咨询作者:lengqin1024(微信)

功能介绍

平台采用B/S结构,后端采用主流的Python语言进行开发,前端采用主流的Vue.js进行开发。

整个平台包括前台和后台两个部分。

  • 前台功能包括:首页、菜品详情页、订单中心、用户中心模块。
  • 后台功能包括:总览、订单管理、菜品管理、分类管理、标签管理、评论管理、用户管理、运营管理、日志管理、系统信息模块。

演示地址

前台地址: http://food.gitapp.cn

后台地址: http://food.gitapp.cn/admin

后台管理帐号:

用户名:admin123 密码:admin123

代码结构

  • server目录是后端代码
  • web目录是前端代码

部署运行

后端运行步骤

(1) 安装python 3.8

(2) 安装依赖。进入server目录下,执行 pip install -r requirements.txt

(3) 安装mysql 5.7数据库,并创建数据库,命名为shop,创建SQL如下:

CREATE DATABASE IF NOT EXISTS xxx DEFAULT CHARSET utf8 COLLATE utf8_general_ci

(4) 恢复shop.sql数据。在mysql下依次执行如下命令:

mysql> use xxxx;
mysql> source D:/xxx/xxx/xxx.sql;

(5) 启动django服务。在server目录下执行:

python manage.py runserver

前端运行步骤

(1) 安装node 16.14

(2) 进入web目录下,安装依赖,执行:

npm install 

(3) 运行项目

npm run dev

界面预览

首页

后台页面

作者微信(lengqin1024)

python_food's People

Contributors

geeeeeeeek 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.