Using front-end development VSCode
registered code
distal userBO and also defines the rear end of the class corresponding to
splice a rear end of the service address. The main use of this serverUrl
set birthday and development environments of some of the url address
port of our back-end API is 8088
front-end interface configured.
When we enter a user name and back-end services have verified.
Cross-domain
Back-end cross-domain settings
To create a configuration, the container will be scanned.
I want to be scanned into the container needs to add comment @Configuration
the front here also carry the cookie information set to true.
Usually set to *. Request refers to the way of get, post them.
Path map, is requested url. These can be used to configure the basic information for all paths.
/ ** represents the request comes for all routes.
Return CorsFilter objects inside the parameters of the real thing CorsConfigurationSource to
eventually return
above cross-domain configuration is set up.
Run the test
Re-run the project API
access to front and rear ends on through. Cross-domain errors solved.
Registration test user, password is 123123
Jump occur after registration, to jump to the home page. First there are some mistakes, because we have not written the interface.
Database, data entered.
End