- Modern JavaScript Applications
- Narayan Prusty
- 234字
- 2021-07-14 11:02:30
Further improvements to the site
Here is a list of things we can do now to make the site architecture even better and add some extra features. You will also get some practice writing code involving the microservices architecture by performing the following actions:
- Create a separate service for the admin panel. The benefit of this is that you can update the admin panel without affecting the visitors, that is, while the admin panel is being updated, the users will still be able to visit and browse coupons. For this, you need to move the route of the admin panel to a new service.
- Fetch the username and password from the database. For this, you need to add some actions to the database service.
- Resize or crop images to thumbnail size, as that's the size of an image being displayed on the frontend. This will save the disk space. This needs to be done with the help of the upload service.
- You can create a mobile app for the website. For this, you need to create a service that provides APIs for the mobile app. New coupons can be submitted to the upload service by adding a query string, indicating that the request has arrived from the mobile app so that it won't redirect, instead send a response once coupon is submitted successfully.
These are just some ideas to make the site even better.
推薦閱讀
- 機器學(xué)習(xí)系統(tǒng):設(shè)計和實現(xiàn)
- 密碼學(xué)原理與Java實現(xiàn)
- Mastering Python Scripting for System Administrators
- 趣學(xué)Python算法100例
- Learning Firefox OS Application Development
- Python Network Programming Cookbook(Second Edition)
- Windows Server 2016 Automation with PowerShell Cookbook(Second Edition)
- Mastering JBoss Enterprise Application Platform 7
- 劍指Java:核心原理與應(yīng)用實踐
- 計算機應(yīng)用基礎(chǔ)實踐教程
- Protocol-Oriented Programming with Swift
- Mastering Web Application Development with AngularJS
- Android Sensor Programming By Example
- Vue.js光速入門及企業(yè)項目開發(fā)實戰(zhàn)
- jQuery技術(shù)內(nèi)幕:深入解析jQuery架構(gòu)設(shè)計與實現(xiàn)原理