Notes: This article builds upon the previous article "Configuring AMap in Vue-Cli 3.0", using the direct inclusion of the AMap SDK to access AMap API. Functionality Ovreview If a coordinate point is provided, it should be centered on the map. If no coordinate point is provided, the map sho...
This article provides a complete solution for implementing image upload, storage, and display in a blog built with Spring Boot and Vue.js. It covers configuring an image server on a cloud instance, the backend API, the frontend component, and database storage. 1. Image Server Setup (Ubuntu) 1.1 Opti...
Technology Stack Backend with Spring Boot Framework Spring Boot facilitates rapid development of applications based on the Spring framework through a philosophy prioritizing convention over configuration. It reduces setup complexity by offering sensible defaults, minimizing the need for extensive XM...
Technology Stack Overview Backend Framework: Spring Boot Spring Boot simplifies enterprise application development through convention-over-configuration principles. The framework eliminates boilerplate setup by embedding servlet containers like Tomcat or Jetty directly, enabling standalone deploymen...
System Architecture The platform adopts a microservices-oriented architecture with clear separation between data layer, business logic, and presentation tiers. The server-side levergaes Spring Boot 2.x with embedded Tomcat containerization, providing RESTful API endpoints for client consumption. Fro...
Password Validation Rule The password must include upperacse letters, lowercase letters, numbers, and special characters, with a length of 8 to 20 chraacters. var validatePassword = (rule, value, callback) => { let pattern = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[`~!@#$%^&*()_+<>?:"{},.\/\...
Essential Debugging Tool for Vue Developers Vue DevTools is a official browser extension that provides deep insight into Vue applications. It enables real-time inspection and modification of component data, props, Vuex/Pinia state, events, and performance metrics. Installation Methods Browser Extens...
Prerequisites Before diving into Vue.js, ensure you have solid foundational knowledge of HTML, CSS, and JavaScript. This is an essential prerequisite. When first learning Vue, avoid using project scaffolding tools like vue-cli. Instead, use simple <script> tags to replicate the examples from t...
Using ViewSets for Product Detail API Enable product detail retrieval by adding mixins.RetrieveModelMixin to the viewset: class ProductListViewSet(mixins.ListModelMixin, mixins.RetrieveModelMixin, viewsets.GenericViewSet): Product Image Serilaization For product images, use nested serialization to h...
Technical ArchitectureThe backend service is powered by the Spring Boot framework. This framework leverages an embedded Tomcat container, removing the need for manual WAR file deployment. Its auto-configuration mechanism adapts application settings based on detected classpath dependencies, significa...