辉煌服务器 节点GraphQL服务器,提供。 使用redis可以保持游戏状态。 如果您是在本地进行开发,则需要安装Redis并使其运行。 在MacOS上: $ brew install redis $ redis-server 运行服务器进行常规开发: $ node index.js 注意:如果要使用Apollo Studio查询localhost:4000并从服务器(而不是GraphQL Playground)中查看指标,请访问以获取API密钥,然后使用APOLLO_KEY运行服务器,如下所示: APOLLO_KEY=service:splendor:XXXX_YYYY_ZZZZ node index.js 您将可以在上查看该图。
2021-10-26 11:14:29 35KB graphql redis node JavaScript
1
The first edition of Node.js in Action was about web development with a particular focus on the Connect and Express web frameworks. Node.js in Action, Second Edition has been updated to suit the changing requirements of Node development. You’ll learn about front-end build systems, popular Node web frameworks, and how to build a web application with Express from scratch. You’ll also learn how to create automated tests and deploy Node web applications. Node is being increasingly used for command-line developer tools and desktop applications with Electron, so you’ll find chapters dedicated to both of these areas. This book assumes you’re familiar with basic programming concepts. The first chapter provides an overview of JavaScript and ES2015 for those of you who haven’t yet discovered the joys of modern JavaScript. Roadmap This book is organized into three parts. Part 1 provides an introduction to Node.js, teaching the fundamental techniques needed to develop with it. Chapter 1 explains the characteristics of JavaScript and Node and steps through example code. Chapter 2 guides you through fundamental Node.js programming concepts. Chapter 3 is a full tutorial on how to build a web application from scratch. Part 2, the largest section of the book, focuses on web application development. Chapter 4 dispels some of the mystery around front-end build systems: if you’ve ever had to use webpack or Gulp in a project but didn’t really understand it, this is the chapter for you. Chapter 5 reviews some of the most popular server-side frameworks available for Node, and chapter 6 goes into Connect and Express in more depth. Chapter 7 is dedicated to templating languages, which can improve your productivity when writing server-side code. Most web applications need a database, so chapter 8 covers the many types of databases that you can use with Node, from relational to NoSQL. Chapters 9 and 10 deal with testing and deployment, and this includes cloud deployment. Part 3 goes be
2021-10-26 09:41:02 12.48MB Node.js In A
1
作者:Guillermo Rauch 了不起的Node.js 高清正版 入门node推荐书籍 值得学习 本书是一本经典的 Learning by Doing的书籍。它由 Node社区著名的 Socket.IO作者—— Guillermo Rauch,通过大量的实践案例撰写,并由 Node社区非常活跃的开发者—— Goddy Zhao翻译而成。 本书内容主要由对五大部分的介绍组成: Node核心设计理念、 Node核心模块 API、Web开发、数据库以及测试。从前到后、由表及里地对使用 Node进行 Web开发的每一个环节都进行了深入的讲解,并且最大的特点就是通过大量的实际案例、代码展示来剖析技术点,讲解最佳实践。
2021-10-25 18:07:32 47.46MB js Node 了不起的
1
2020.9最新-撩课 Vue2.x+Node.js 拼多多商城项目实战.txt2020.9最新-撩课 Vue2.x+Node.js 拼多多商城项目实战.txt2020.9最新-撩课 Vue2.x+Node.js 拼多多商城项目实战.txt2020.9最新-撩课 Vue2.x+Node.js 拼多多商城项目实战.txt
2021-10-24 23:38:16 67B vue
1
区块链中的PBFT 实际的拜占庭容错在区块链中的实现 随附文章: : 文献资料 系统配置 通过在config.js文件中设置NUMBER_OF_NODES的值来更新系统中的节点数。 通过在config.js文件中设置TRANSACTION_THRESHOLD来更新要存储在一个块中的最大事务数。 运行节点 使用以下命令运行节点(假设总节点数为3) 第一个节点: SECRET="NODE0" P2P_PORT=5000 HTTP_PORT=3000 node app 第二个节点: SECRET="NODE1" P2P_PORT=5001 HTTP_PORT=3001 PEERS=ws://localhost:5000 node app 第三节点: SECRET="NODE2" P2P_PORT=5002 HTTP_PORT=3002 PEERS=ws://localhost:5
2021-10-22 20:36:28 215KB JavaScript
1
win32-x64-67_binding.node
2021-10-22 10:48:18 2.29MB node vue binding
1
Ambar是一个开源文档搜索引擎,具有自动抓取,OCR,标记和实时全文搜索功能
2021-10-22 09:36:53 56.41MB Node.js开发-其它杂项
1
Vue项目实操——使用Node.js+Vue.js重构Todolist 使用Node.js操作mongoDB接口
2021-10-21 22:02:40 4.11MB vue.js node.js
1
节点板 这是一个Node记事本,是为一系列教程。 更新 遵循 , 或上的系列。 依存关系 您需要首先在系统上安装这些: 这些是项目所需的库: 有关我测试过的依赖项的版本,请参见package.json文件。 在Mac OS上,Snow Leopard和Debian Lenny / Squeeze。 依赖安装 确保您正在运行mongo实例(如果需要,请输入mongod )。 git clone git@github.com:alexyoung/nodepad.git nodepad cd nodepad npm install node app.js 会费 执照( GPL ) 该程序是免费软件:您可以重新分发和/或修改根据GNU发布的GNU通用公共许可的条款进行自由软件基金会(许可的版本3)或(您可以选择)任何更高版本。 分发该程序是希望它会有用, 但没有任何保证; 甚至没有默示担
2021-10-21 19:53:41 88KB JavaScript
1
记事本 这是我的第一个node.js应用程序。 我正在创建一个记事本,它将允许您添加,列出,删除和阅读笔记。 它仍在建设中,因此我将经常进行更改。 为了使应用程序运行: 示例:node app.js(指令)-t =“” -b =“” 命令: app.js添加添加新笔记 app.js列表列出所有注释 app.js阅读阅读笔记 app.js删除删除便笺 如果需要可用指令的列表,请输入:node app.js --help 这将显示您拥有的选项。 您也可以为--body或-b输入标题为--title或-t
2021-10-21 19:47:16 3KB JavaScript
1