- Modern JavaScript Applications
- Narayan Prusty
- 201字
- 2021-07-14 11:02:28
Chapter 2. Building a Coupon Site
The best way to understand Seneca and microservices architecture is by building a server-side application that would benefit from the microservices architecture. In previous chapter, we saw how large and complex server-side application benefits from the microservices architecture and why enterprises use microservices architecture. In this chapter, we will build a coupon website to practically demonstrate the benefits of using microservices architecture and Seneca to create a server-side application. While building this coupon site, you will also learn how to design a server-side application using the microservices architecture from scratch, how to split the functionality of the application into services, how a client can directly communicate with the services, and many other things.
Some of the things that we will cover in this chapter, apart from things related to Seneca and microservices architecture, are as follows:
- Using the
seneca-mongo-store
plugin to store data in MongoDB - Creating a basic image storage server
- Discussing HTTP basic authentication using the basic-auth npm package
- Using the connect-multiparty npm package to parse HTTP POST requests with the
multipart/form-data
content type - Moving, deleting, and renaming files in Node.js using the
fs
npm package - Implementing pagination with MongoDB and Express
- Python概率統計
- Oracle從新手到高手
- Django開發從入門到實踐
- 從程序員到架構師:大數據量、緩存、高并發、微服務、多團隊協同等核心場景實戰
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- Visual Basic程序設計與應用實踐教程
- 深入淺出RxJS
- 自然語言處理Python進階
- C語言程序設計
- Visual Basic程序設計上機實驗教程
- INSTANT Silverlight 5 Animation
- 開源項目成功之道
- Learning Modular Java Programming
- Scratch從入門到精通
- 大學計算機應用基礎(Windows 7+Office 2010)(IC3)