一个简单的登录demo,适合前端初学者练手
为了存储用户和密码等相关数据,需要先安装mongodb客户端,客户端安装教程:
https://www.cnblogs.com/zhoulifeng/p/9429597.html
只需要完成第五步之前的所有操作就可以先玩起来了
npm run install:all
npm run db
npm run start
npm run react
-
登录
-
注册
-
忘记密码
-
签到
-
获取上次签到时间
-
获取其他成员签到情况
-
需要安装mongodb客户端,然后关联mongodb到环境变量,只有这样才可以直接使用mongod,否则会报错:mongod不是内部命令,也不是外部命令
-
练手级项目,很多函数和方法没有做封装,很多需要安全校验的地方没做处理,本项目重点为新手提供实操的平台
-
为了更加了解开发原理,前端没有使用ui框架,后端服务也没有使用框架,不同的公司可能使用不同的框架,所致只有了解底层知识才能更好的借助框架开发
https://login.zhoushoujian.com
MIT