摘要:
As we saw in the video, redis can do more than just simple key-value pairs. We are going to be using redis lists later to add persistance to our live- 阅读全文
摘要:
Let's start practicing using the redis key-value store from our node application. First require the redismodule, and then create a redis client that w 阅读全文
摘要:
Clients can also answer each other questions, so let's build that feature by first listening for the'answer' event on the client, which will send us b 阅读全文
摘要:
Below we've already created an express server, but we want to start building a real-time Q&A moderation service and we've decided to use socket.io. Re 阅读全文
摘要:
Now let's create an express server which queries out for this search term and just returns the json. You'll need to do a few things: Require the expre 阅读全文
摘要:
Let's create a page which calls the twitter search API and displays the last few results for Code School. The first step is to construct the proper UR 阅读全文
摘要:
Instead of just writing out the quote to the response, instead render the quote.ejs template, passing in the quote name and quote body. Then finish th 阅读全文
摘要:
Create a route that responds to a GET request '/quotes/<name>', then use the param from the URL to retrieve a quote from the quotes object and write i 阅读全文
摘要:
Create an express route that responds to GET requests at the URL /tweets that responds with the filetweets.html located in the same directory as app.j 阅读全文