- Building Scalable Apps with Redis and Node.js
- Joshua Johanan
- 138字
- 2021-08-05 17:49:04
Summary
Our app now looks and feels like a real application. We went from little knowledge of Express to actually using it to build a small yet fully functional site. At this point, we now know how to respond to different HTTP methods. We know how to wire up routes in a clean and extendable manner. Our app has 14 different pieces of middleware. This might seem like a lot, but our app is also doing a lot. We can use templates and partials to render our pages easily. Finally, we have a simple authentication system that uses sessions. We laid a very good base for our chat application, all in just over 40 lines, in our app.js
.
In our next chapter, we will cover how to add real-time communication between the server and the browser using Socket.io
.
推薦閱讀
- Reporting with Visual Studio and Crystal Reports
- Hands-On Machine Learning with scikit:learn and Scientific Python Toolkits
- Vue.js 2 and Bootstrap 4 Web Development
- C語言程序設計實訓教程
- Java開發入行真功夫
- Practical DevOps
- C語言從入門到精通(第4版)
- Symfony2 Essentials
- Flutter跨平臺開發入門與實戰
- Tableau 10 Bootcamp
- Buildbox 2.x Game Development
- Python程序設計開發寶典
- Mastering Elixir
- Flask Web開發:基于Python的Web應用開發實戰(第2版)
- ASP.NET Web API Security Essentials