Git Product home page Git Product logo

daily_fresh_demo's Introduction

DailyFresh

天天生鲜:小型电商购物网站,基于Python3.xDjango2.x

项目尽量使用Django内部提供的API,后台管理为Django自带的管理系统django-admin。适合Django的小型实战项目。

功能简介:

  • 商品浏览:商品的图片,售价,种类,简介以及库存等信息。
  • 全文检索:支持对商品种类以及商品名称,简介的检索。
  • 登录注册:用户的登录与注册。
  • 用户中心:支持用户个人信息,收货地址等信息的更新,商品加入购物车,订单生成。
  • 商品下单:在支付接口和企业资质的支持下可完成商品的下单功能,按照原子事务处理,下单异常则终止此次下单过程。
  • 后台管理:支持后台管理功能,商品及用户信息的增加,更新与删除,可自定制样式与功能,日志,以及权限的管理和分配。

在线样例:

在线地址

http://39.108.176.210

账号:weilanhanf

密码:weilanhanf

管理人员入口

http://39.108.176.210/admin

账号:root

密码:rootroot

预览:

首页

index

登录

login

商品详情

goods

购物车

cart

安装:

依赖包安装

下载文件进入项目目录之后,使用pip安装依赖包

pip install -Ur requirements.txt

数据库配置

数据库默认使用Django项目生成时自动创建的小型数据库sqlite

也可自行配置连接使用MySQL

创建超级用户

终端下执行:

./python manage.py createsuperuser

然后输入相应的超级用户名以及密码,邮箱即可。

开始运行

终端下执行:

./python manage.py runserver

浏览器打开: http://127.0.0.1 即可进入普通用户入口

浏览器打开: http://127.0.0.1/admin 即可进入超级用户入口

感谢:

感谢您的star

联系:

如需联系请前往博客园留言 蔚蓝的蓝

daily_fresh_demo's People

Contributors

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