- 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
- Oracle從入門到精通(第3版)
- Learn ECMAScript(Second Edition)
- Mastering Ext JS(Second Edition)
- OpenCV 3和Qt5計(jì)算機(jī)視覺(jué)應(yīng)用開(kāi)發(fā)
- INSTANT Django 1.5 Application Development Starter
- Hands-On GUI Programming with C++ and Qt5
- SQL Server 2016 從入門到實(shí)戰(zhàn)(視頻教學(xué)版)
- Fastdata Processing with Spark
- 官方 Scratch 3.0 編程趣味卡:讓孩子們愛(ài)上編程(全彩)
- Elasticsearch Blueprints
- Learning Cocos2d-JS Game Development
- 從零開(kāi)始學(xué)算法:基于Python
- C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)
- Game Programming using Qt 5 Beginner's Guide
- 軟件定義存儲(chǔ):原理、實(shí)踐與生態(tài)