GithubHelp home page GithubHelp logo

mrg1995 / electricity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chenguanyou/electricity

0.0 1.0 0.0 37.4 MB

🐟🍎🐔一个在线生鲜电商网站,前端使用vue,后端使用Python的web框架django进行开发!

Python 93.77% ASP 0.05% Java 0.02% PHP 0.67% Vue 5.42% CSS 0.06%

electricity's Introduction

1.项目说明

在线电商系统,使用Django_rest_frameworkvue进行前后端分离,集成第三方微博,QQ, 微信的登陆,和支付宝的支付,项目是我跟着慕学网的课程做的,非常感谢暮学网bobby老师,让我在这个课程中学到了很多的内容!

2.项目使用到的第三方包

django
pillow
mysqlclient
djangorestframework-jwt
djangorestframework
markdown
django-filter
django-crispy-forms
django-reversion
django-formtools
future
httplib2
six
requests
coreapi
django-cors-headers
xlwt
xlsxwriter
drf-extensions
django-redis
pycryptodome
raven
social-auth-app-django


3.配置和启动

1.如果阁下没有安装上面我所说到的环境,请阁下自行安装。

3.安装环境后请修改/MxShop/MxShop/目录下的settings.py文件里面的DATABASES数据库,短信,支付宝,第三方登陆的配置信息

4.然后进入项目根目录执行:python manage.py makemigrations

5.在执行:python manage.py migrate

6.在建创后台管理员:python manage.py createsuperuser

4.启动

1.运行命令python manage.py runserver

2.然后访问http://127.0.0.1:8000

3.后台地址http://127.0.0.1:8000/xadmin/

5.前端文件

1.进入online-store目录

2.执行npm install安装所需要的依赖

ps: 如果觉得npm慢,可以安装cnpm代替,安装方法自行百度。

3.安装完成后执行npm run dev运行前端项目

4.访问地址:http://127.0.0.1:8080/

6.项目效果图

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

Alt text

electricity's People

Contributors

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