闲谈现场 这是一个基于Node.js,Express和MongoDB的简单网站。 它主要用作示例站点,以了解Express框架如何在后端工作。 它包括使用PassportJS进行身份验证的注册/登录。 所有用户凭证,聊天和会话将存储在本地mongoDB数据库中。 聊天室的大多数前端设计(css和jquery)已从使用或修改 应用演练 亮点 使用passwordJS本地策略进行登录/注册和身份验证。 在MongoDB数据库上存储用户,会话和过去的聊天室。 使用SOCKET.IO的实时聊天室,通过身份验证的用户可以实时相互聊天。 同样,加载过去的聊天记录,保存在数据库中。 使用EJS作为前端模板 安装 克隆此存储库并运行npm install 然后运行'npm run dev' 在网站上访问localhost:4000并进行探索。 Docker指南 如果您的计算机中安装了Docker
2021-12-30 01:58:14 60KB JavaScript
1
Beginning Node.js is your step-by-step guide to learning all the aspects of creating maintainable Node.js applications. You will see how Node.js is focused on creating high-performing, highly-scalable websites, and how easy it is to get started. Many front-end devs regularly work with HTML, CSS, PHP, even WordPress, but haven't yet got started with Node.js. This book explains everything for you from a beginner level, enabling you to start using Node.js in your projects right away. Using this book you will learn important Node.js concepts for server-side programming. You will begin with an easy-to-follow pure JavaScript primer, which you can skip if you're confident of your JS skills. You'll then delve into Node.js concepts such as streams and events, and the technology involved in building full-stack Node.js applications. You'll also learn how to test your Node.js code, and deploy your Node.js applications on the internet. Node.js is a great and simple platform to work with. It is lightweight, easy to deploy and manage. You will see how using Node.js can be a fun and rewarding experience - start today with Beginning Node.js. What you’ll learn • Learn how JavaScript can help you be highly productive as a full-stack developer • How to set up an end to end Node.js development environment • Learn how to create reusable and maintainable Node.js modules • Patterns for sharing code between the server and the client • Create Node.js restful web services and websites • Store and retrieve your data using Document Databases • How to test your Node.js applications • How to deploy your applications on the internet Who this book is for Beginning Node.js is great for front-end developers looking to use Node.js in their websites. If you understand the basics of programming this book will teach you how you can leverage JavaScript to create full stack web-apps using Node.js. Node.js allows you to write code that runs both on the client and server. This allows you to reuse more code and deliver applications faster. From this book you will learn how to write maintainable server-side JavaScript using Node.js, how to test your code and deploy it on the internet. Table of Contents Chapter 1: Setting up for Node.js Development Chapter 2: Understanding Node.js Chapter 3: Core Node.js Chapter 4: Node.js Packages Chapter 5: Events and Streams Chapter 6: Getting Started with HTTP Chapter 7: Introducing Express Chapter 8: Persisting Data Chapter 9: Front-End Basics Chapter 10: Simplifying Callbacks Chapter 11: Debugging Chapter 12: Testing Chapter 13: Deployment and Scalability
2021-12-29 22:34:00 6.94MB node nodejs javascript
1
网络快照 该模块实现了版本1、2c和3。 用其他语言阅读:,。 该模块是使用: npm install net-snmp 它是使用require()函数加载的: var snmp = require ( "net-snmp" ) ; 快速开始 然后可以创建到远程主机的会话,并将其用于执行SNMP请求并发送SNMP陷阱或通知: var session = snmp . createSession ( "127.0.0.1" , "public" ) ; var oids = [ "1.3.6.1.2.1.1.5.0" , "1.3.6.1.2.1.1.6.0" ] ; session . get ( oids , function ( error , varbinds ) { if ( error ) { console . error ( error )
2021-12-29 22:33:43 371KB JavaScript
1
前端开发 React 开发
2021-12-29 21:03:00 21.95MB 前端
1
源码参考,欢迎下载
2021-12-29 15:05:27 1.75MB 微信小程序
1,使用save会在package.json中自动添加。 npm install node-sass --save npm install sass-loader --save 2,通常使用npm安装会出现以下报错,安装失败。(网路问题) 3,可以通过淘宝的npm镜像安装node-sass,解决以上问题。 npm install -g cnpm --registry=https://registry.npm.taobao.org (安装淘宝镜像) cnpm install node-sass --save (使用淘宝镜像安装node-sass)
2021-12-29 14:38:25 22KB AS c node
1
寻求配电网的数据-IEEE 13 Node Test Feeder.doc 只找到了配电网IEEE33和69节点的数据,请问哪位大神有没更多节点的配电网结构数据,最好能有每个线路的阻抗和负荷的功率数据,万分感谢!
2021-12-29 10:38:42 83KB matlab
1
节点红色贡献zigbee2mqtt Zigbee2mqtt连接的红色节点。 可用节点为: zigbee2mqtt-in:收听设备 zigbee2mqtt-get:获取设备的当前值 zigbee2mqtt-out:向设备发送命令 zigbee2mqtt-bridge:日志,选项,其他事件 额外功能: 团体支持 网络图生成
2021-12-29 09:47:14 689KB JavaScript
1
node 脚本 获取signature
2021-12-29 09:04:37 74KB node js
Movies4j - 电影推荐引擎 Movies4j 是一个使用图数据库的示例应用程序,特别是 Neo4j。 它面向想要了解图数据库及其用例的好处的初学者。 它展示了 Neo4j 和 Cypher 查询语言的简单性。 如果您有兴趣,请在上了解更多关于它们的。 该应用程序允许用户评价他们喜欢的电影并添加其他用户作为他们的朋友。 根据这些信息,用户将收到他们可能喜欢的其他电影和朋友喜欢的电影的推荐。 建筑学 基于Web前端 基于带有和REST-API 服务器 Neo4j 数据库 安装 从下载 Neo4j 社区版() 将db/graph.db.zip的内容解压到neo-install-dir/data/graph.db 启动 Neo4j ./bin/neo4j start 在浏览器中打开 ,使用 neo4j/neo4j 登录并将密码更改为neo5j (您可以随意使用不同的密码,但随后您需
2021-12-28 23:33:23 14.65MB JavaScript
1