Skip to content

Latest commit

 

History

History
160 lines (124 loc) · 7.38 KB

README_CN.md

File metadata and controls

160 lines (124 loc) · 7.38 KB

Ascent Medical Systems

1. Introduction

 Ascent Pharmaceutical System is a comprehensive pharmaceutical mall, including client and management platform. The system is designed to provide pharmaceutical business services efficiently and conveniently to meet the needs of users and managers. The client provides a wealth of functions to facilitate users to browse, query products, and manage shopping carts and orders. The management platform supports management functions such as products, orders, members, and addresses, as well as system settings and permissions management. Through the integration of advanced technology and functional modules, Ascent Pharmaceutical System brings a better user experience to the pharmaceutical industry, provides powerful operation management functions, and assists the development of the industry.

2. Functional design

 The Ascent pharmaceutical system mainly includes the client accessed by buyers and the management end accessed by administrators. The specific functions are as follows

Client functions

basic function

  • User registration
  • User login
  • User exit
  • Product list
  • Product Category
  • Product details
  • Place an order to purchase
  • Search for products
  • Random recommendations

User Center

  • Contact information
  • Change password
  • Delete order
  • Harvest address

shopping cart

  • Delete product
  • Product settlement

Order

  • Delete order

Management function

Category Management

  • Product Category
  • Add category

Product Management

  • All products
  • Add product
  • Transfer product category

Order Management

  • Orders to be paid
  • paid order
  • Unshipped orders
  • Order shipped

User Management

  • Member Management
  • Member Order

System settings

  • Administrator
  • Permission settings

3. Database design

Database design diagram

4. Technology Selection

Backend framework: Spring + Spring MVC + MyBatis
Front-end framework: HTML + CSS + Juery + Layui
Database: MySQL
Logging framework: Log4j2
Project management tool: Maven
Test running environment: Tomcat

5. Project structure

Ascent
├───assets                                store the static resources of the project
└───src                                   root directory of source code
     └───main                             main source code directory
         ├───java                         Java source code directory
         │ └───com
         │ └───whimsyquester              top package name
         │ ├───controller                 controller class, handles requests and responses
         │ │ └───admin                    Administrator-related controller classes
         │ ├───dao                        data access object, used to interact with the database
         │ ├───enums                      enumeration type
         │ ├───interceptors               interceptor class, used to intercept requests and process them
         │ ├───po                         persistent object, Java object corresponding to database table
         │ ├───service                    service interface and implementation class
         │ │ ├───impl                     implementation class of service interface
         │ │ │ └───admin                  administrator-related service interface implementation class
         │ │ └───inter                    service interface
         │ │ └───admin                    Administrator-related service interface
         │ └───util                       tool class
         ├───resources                    resource directory, where configuration files are stored, etc.
         │ ├───mybatis                    MyBatis related configuration files, including mapping files, etc.
         │ └───spring                     Spring framework related configuration files
         └───webapp                       Web application directory, storing Web resources
             ├───admin                    Administrator-related pages and resources
             │ └───Images                 picture resources
             │ └───modules                CSS folder related to modules
             │ ├───laydate                Default CSS folder for LayDate module
             │ │ └───default
             │ └───Default                CSS folder of layer Layer module
             │ └───default
             ├───css                      style sheet file
             ├───images                   picture resources
             │ └───Images                 picture resources
             ├───js                       JavaScript file
             │ ├───Js                     JavaScript file
             │ └───pages                  JavaScript files related to pages
             │ ├───css                    JavaScript files related to page style
             │ │ └───modules              JavaScript files related to modules
             │ │ ├───laydate              Default JavaScript folder for LayDate module
             │ │ │ └───default
             │ │ └───Default              JavaScript folder for layer Layer module
             │ │ └───default
             │ ├───font                   font file
             │ ├───images                 page image resources
             │ │ └───face                 emoticon picture resources
             │ └───lay                    LayUI related JavaScript files
             │ └───modules                JavaScript folder related to modules
             ├───META-INF                 stores meta-information related to deployment
             ├───user                     user-related pages and resources
             └───WEB-INF                  stores the configuration files and protected resources of web applications

6. Run the demo

1. Open the project, execute the ascent.sql file to create the database required for the project

2. Set the account and password for the database connection in the db.properties file

3. Run the batch script file start.bat and the project will start running

4.Client and management access

Client address: http://localhost:8888/Ascent/user/index.html


Management address: http://localhost:8888/Ascent/admin/login.html

7. Star History

Star History Chart