Giter Club home page Giter Club logo

flask-user-api-template's Introduction

flask + Vue + Vuex + iview => 前后端分离

提供一个可以复用的 用户注册登录,Token验证,session/cookie 登录的 模板

已完成

  • 用户注册与登录
  • 关联QQ邮箱,注册时发送验证码邮件
  • 登录成功后获取token并缓存在本地
  • 用户登出,销毁Token

Todo

  • Session/Cookie 保持会话
  • 用户新登录时需要填写验证码,验证码图片由后台Python生成并缓存到Redis,图片显示于前端,登录时前端数据与数据库数据校验

现有的特性

* 用户密码两次加密,前后端各加密一次
* 利用flask_mail多线程发送邮箱
* 邮箱验证码缓存在Redis中

展示

  • 登录页 Alt text

  • 注册页 Alt text

  • QQ邮箱 Alt text


此项目基本上实现了关于用户的业务逻辑需求,后续的需求可以在此模板上进行再次开发.

flask-user-api-template's People

Contributors

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