Code Monkey home page Code Monkey logo

login-demo's Introduction

login-demo

一个简单的登录demo,适合前端初学者练手

Install

为了存储用户和密码等相关数据,需要先安装mongodb客户端,客户端安装教程: https://www.cnblogs.com/zhoulifeng/p/9429597.html
只需要完成第五步之前的所有操作就可以先玩起来了

 npm run install:all
 npm run db
 npm run start
 npm run react

Functions

  1. 登录

  2. 注册

  3. 忘记密码

  4. 签到

  5. 获取上次签到时间

  6. 获取其他成员签到情况

Attention

  1. 需要安装mongodb客户端,然后关联mongodb到环境变量,只有这样才可以直接使用mongod,否则会报错:mongod不是内部命令,也不是外部命令

  2. 练手级项目,很多函数和方法没有做封装,很多需要安全校验的地方没做处理,本项目重点为新手提供实操的平台

  3. 为了更加了解开发原理,前端没有使用ui框架,后端服务也没有使用框架,不同的公司可能使用不同的框架,所致只有了解底层知识才能更好的借助框架开发

Experience

https://login.zhoushoujian.com

License

MIT

login-demo's People

Contributors

zhoushoujian avatar

Watchers

James Cloos avatar

Forkers

panchenghai

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.