react-express-starter-kit:Server(Express)Client(crete-react-app)入门套件,使用React和React Router V4,Socket.IO,Express.js,猫鼬,JWT身份验证。 在服务器和客户端上添加了VSCode的调试器配置-源码

上传者: 42116794 | 上传时间: 2021-02-03 14:06:04 | 文件大小: 160KB | 文件类型: ZIP
与Express服务器入门套件React 使用以下技术的客户端/服务器样板: >内部使用HMR create-react-app已用于创建客户端应用 客户端文件位于./client文件夹下 服务器文件位于./server文件夹下 建立 克隆仓库并运行: npm i 要以开发人员模式运行该应用,请运行: npm start 它将在 (带有HMR)上运行客户端应用程序,并在上运行服务器。 要以生产模式部署应用程序,请运行: npm run deploy 它将在运行生产应用程序 登录 要首次登录应用程序,请使用以下凭据: 用户: admin 密码: admin 那么您可以在mlab托管的数据库中的“用户”标签下创建用户 使用VSCode进行调试 另外,如果您使用VSCode ,则可以在开发中调试Server和Client应用程序 首先按F5键在服务器上启动VSCode调试器,然后可以在VSCode上添加断点。 然后在新的VSCode实例中打开./client文件夹。 npm start此处npm start运行npm start ,然后按F5,它将在VSCode上运行客户端

文件下载

资源详情

[{"title":"( 55 个子文件 160KB ) react-express-starter-kit:Server(Express)Client(crete-react-app)入门套件,使用React和React Router V4,Socket.IO,Express.js,猫鼬,JWT身份验证。 在服务器和客户端上添加了VSCode的调试器配置-源码","children":[{"title":"react-express-starter-kit-master","children":[{"title":"client","children":[{"title":".gitignore <span style='color:#111;'> 285B </span>","children":null,"spread":false},{"title":".eslintrc <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"package-lock.json <span style='color:#111;'> 283.06KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"components","children":[{"title":"InputComponent","children":[{"title":"index.js <span style='color:#111;'> 671B </span>","children":null,"spread":false},{"title":"Input.scss <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"Input.css <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"TopMenuComponent","children":[{"title":"index.js <span style='color:#111;'> 1.53KB </span>","children":null,"spread":false},{"title":"TopMenu.scss <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"TopMenu.css <span style='color:#111;'> 960B </span>","children":null,"spread":false}],"spread":true},{"title":"authWrapper.js <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"services","children":[{"title":"authService.js <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"index.js <span style='color:#111;'> 552B </span>","children":null,"spread":false},{"title":"logo.svg <span style='color:#111;'> 2.61KB </span>","children":null,"spread":false},{"title":"App.js <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"registerServiceWorker.js <span style='color:#111;'> 4.28KB </span>","children":null,"spread":false},{"title":"index.css <span style='color:#111;'> 101B </span>","children":null,"spread":false},{"title":"index.scss <span style='color:#111;'> 101B </span>","children":null,"spread":false},{"title":"App.test.js <span style='color:#111;'> 233B </span>","children":null,"spread":false},{"title":"pages","children":[{"title":"login","children":[{"title":"index.js <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"Login.css <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Login.scss <span style='color:#111;'> 20B </span>","children":null,"spread":false}],"spread":false},{"title":"users","children":[{"title":"index.js <span style='color:#111;'> 3.76KB </span>","children":null,"spread":false},{"title":"Users.css <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"Users.scss <span style='color:#111;'> 20B </span>","children":null,"spread":false}],"spread":false},{"title":"about","children":[{"title":"index.js <span style='color:#111;'> 120B </span>","children":null,"spread":false}],"spread":false},{"title":"topics","children":[{"title":"index.js <span style='color:#111;'> 905B </span>","children":null,"spread":false}],"spread":false},{"title":"home","children":[{"title":"index.js <span style='color:#111;'> 2.85KB </span>","children":null,"spread":false},{"title":"Home.scss <span style='color:#111;'> 557B </span>","children":null,"spread":false},{"title":"Home.css <span style='color:#111;'> 496B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"public","children":[{"title":"index.html <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"favicon.ico <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"manifest.json <span style='color:#111;'> 317B </span>","children":null,"spread":false}],"spread":true},{"title":".env <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 116.21KB </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 110B </span>","children":null,"spread":false},{"title":"launch.json <span style='color:#111;'> 443B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 48B </span>","children":null,"spread":false},{"title":".babelrc <span style='color:#111;'> 30B </span>","children":null,"spread":false},{"title":"app.js <span style='color:#111;'> 1.45KB </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"server","children":[{"title":"models","children":[{"title":"user.js <span style='color:#111;'> 184B </span>","children":null,"spread":false}],"spread":true},{"title":"config.js <span style='color:#111;'> 116B </span>","children":null,"spread":false},{"title":"middlewares","children":[{"title":"authVerifyMiddleware.js <span style='color:#111;'> 942B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 93B </span>","children":null,"spread":false}],"spread":true},{"title":"controllers","children":[{"title":"authenticationController.js <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"usersController.js <span style='color:#111;'> 682B </span>","children":null,"spread":false},{"title":"homeController.js <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 246B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"package-lock.json <span style='color:#111;'> 112.35KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"readme.md <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":".vscode","children":[{"title":"settings.json <span style='color:#111;'> 94B </span>","children":null,"spread":false},{"title":"launch.json <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false}],"spread":true},{"title":"nodemon.json <span style='color:#111;'> 65B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明