Coder Social home page Coder Social logo

java-study's Introduction

前后端分离项目模版

包含基本的登录、注册、密码重置等等功能,可以二次开发编写具体场景下的应用程序。

  • 登录功能(支持用户名、邮箱登录)
  • 注册用户(通过邮箱注册)
  • 重置密码(通过邮箱重置密码)

登录功能:

  1. 用户登录成之后,才能访问index路径下的页面
  2. 用户如果没有登录,那么会自动跳转到登录界面
  3. 如果用户请求的是一个压根就不存在的页面,依然强制回到登录界面,如果已经登录,那么回到index首页

登录解决方案

  1. 无论是否已经登录,直接向后端请求用户信息
  2. 如果请求成功,那么说明肯定是已经登录了
  3. 如果请求失败,那么说明没有登录,跳转到登录界面

java-study's People

Contributors

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