websocket_demo_backend:Websocket演示的后端 源码
Websocket演示 启动 使用yarn install在前端和后端安装依赖项。 如果尚未安装redis,。 使用redis-server启动redis redis-server 。 从头yarn start后端。 从头yarn start前端。 要访问redis cli,请运行redis-cli 。 环境 前端 REACT_APP_BACKEND_URL="http://localhost:8080" 后端 FRONT_END_URL="http://localhost:3000" PORT="8080" REDIS_URL="redis://:6379"
下载地址
用户评论