Giter VIP home page Giter VIP logo

dailyfresh's Introduction

Django B2C电商项目

用户模块

  • 注册、登录

    采用Django自带的认证系统,继承了AbstractUser类,本身就包含了cookie、session操作

    基本方法使用authenticate() login() logout() login_required() Redis实现对session的缓存, 邮件采用Django内置的send_mail()函数,采用celery实现异步请求。 历史浏览记录使用Redis的list作为记录

商品模块

  • 采用MySQL数据库
  • haystack+whoosh实现对商品的检索
  • Nginx+fastdfs实现对图片的存储

订单模块

  • 生成订单

使用MySQL事务,对一组sql操作进行提交或者撤销 使用悲观锁处理订单并发效果

  • 支付订单

    调用支付宝的支付接口。

购物车模块

使用Redis对购物车商品进行记录缓存

dailyfresh's People

Contributors

sweetdoctor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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