This article I will try to package a react app into Spring boot, so that they can share the same port, and make sure that the react static content can be served inside the spring boot app.
Here I'm gonna take a next.js app for example.
This article I will try to package a react app into Spring boot, so that they can share the same port, and make sure that the react static content can be served inside the spring boot app.
Here I'm gonna take a next.js app for example.
https://www.jianshu.com/p/bec6736dcc3d
https://blog.csdn.net/JavaEETeacher/article/details/6478450
https://www.bilibili.com/video/BV1qc411W78Q 架构的演进
In this blog I am going to talk about the development history of Java Web
https://github.com/didi/DoraemonKit 移动端 app 测试工具包
本文收集了目前人脸识别领域的开源方案, 基于这些开源方案, 实现了一个基础 demo, 代码库: https://github.com/xiaoyureed/face_recognize_rest_api
https://www.bilibili.com/video/BV1ct411k7jn?p=3 https://github.com/aosabook/500lines/tree/master/data-store
https://www.bilibili.com/video/BV17a411C7Kv/?spm_id_from=333.788.recommend_more_video.0 分布式数据库
https://www.bilibili.com/video/BV1Zv411G7ty/?spm_id_from=333.788.recommend_more_video.3原理
https://www.bilibili.com/video/BV1ct411k7jn?p=3
https://www.bilibili.com/video/BV1aZ4y1w7Uz#reply4366921730
https://www.bilibili.com/video/BV16N411X7y8/?spm_id_from=333.788.recommend_more_video.2
https://www.bilibili.com/video/BV1jS4y1N7QU/?spm_id_from=333.788
https://zhuanlan.zhihu.com/p/351897096 www.zhihu.com/question/35382593/answer/102269843 www.zhihu.com/question/30803867/answer/1987624954 www.zhihu.com/question/26802517/answer/1234617717 https://zhuanlan.zhihu.com/p/43411082 https://www.zhihu.com/question/27677011/answer/240670571 https://www.zhihu.com/question/36571460/answer/68880015 https://www.zhihu.com/question/35382593/answer/102269843 https://zhuanlan.zhihu.com/p/29401694
https://cstack.github.io/db_tutorial/ 教程 (https://github.com/cstack/db_tutorial) 《数据密集型应用系统设计》
比如希望达到的要求是这样: 在 1min 内登陆异常次数达到5次, 锁定该用户 1h
那么登陆请求的参数中, 会有一个参数唯一标识一个 user, 比如 邮箱/手机号/userName
用这个参数作为key存入redis, 对应的value为登陆错误的次数, string 类型, 并设置过期时间为 1min. 当获取到的 value == "4" , 说明当前请求为第 5 次登陆异常, 锁定.
所谓的锁定, 就是将对应的value设置为某个标识符, 比如"lock", 并设置过期时间为 1h
定义容器接口规范, 有注册, 获取等几个方法
/**
* container 接口(添加/移除/获取)
*
* @version 0.1
* @author xy
* @date 2018年6月5日 下午5:00:34
*/
public interface Container {
/**
* 初始化
* @param clazzSet
*/
void register(String packageName);
/**
* 貌似暂时用不到
*/
// void remove();
/**
* 根据 class 获取 bean
* @param clazz
* @return
*/
<T> T getByType(Class<T> clazz);
/**
*
* @param name
* @return
*/
<T> T getByName(String name);
}
几个月前我买了一个树莓派, 新鲜劲儿去了就一直在吃灰, 最近闲下来 想把它打造成一个小服务器, 跑一跑一些乱七八糟的代码, 那么, 说干就干.
网络:电信1000M宽带 软路由:J4125四口工控主机 软路由系统:Unraid丨OpenWrt 丨iKuai 交换机:网件8口千兆交换机 GS308 硬路由:小米AX3600丨华硕RT-AC86U 丨 NewWfi-3 台式机:黑果+Windows10 双系统组装机 丨M1 Mac mini 笔记本: MacBook Pro 2015丨 MacBook Pro 2019丨 Mac Mini M1 平板:Ipad Air 软件:Final Cut Pro丨 剪映专业版丨 PR 键盘:FILCO 108 红轴 丨AkkO 3098 蓝轴 丨 Keychron K2丨 珂芝 K75 相机:SONY a6300 丨佳能 G7X mark III 手机:iPhone 13 Pro 丨iPhone 13 Mini 相机镜头:索尼16-50mm狗头丨适马30mm F1.4 话筒:猛犸无线麦克风 移动硬盘:东芝 4T丨奥睿科M.2移动硬盘盒+256硬盘丨 雷电 3 扩展坞 + SN550 U盘:闪迪64G3 NAS:DS218 Play 4T2